David Henningsson wrote: > Things remaining are: > - First, I'm not sure the calculations are entirely correct. I think I shouldn't need > to add process_usec to the wakeup, but if I don't I wake up a few samples before the > stream has finished playback. Sorry if it is a silly question but couldn't this happen because speed of time inside sound card is somewhat different from that of system time? -- With best regards Dmitri Paduchikh