Support sample delay
Also implemented read_back