[alsa-devel] What does snd_pcm_delay() actually return?

James Courtier-Dutton James at superbug.co.uk
Tue Jun 10 16:36:02 CEST 2008

Lennart Poettering wrote:
> Takashi, Jaroslav,
> could you please explain what exactly snd_pcm_delay() returns? 
> Some applications (such as WINE) assume it is the time that would pass
> until we reach an underrun if we would stop writing any further data
> to the PCM device.


> Other applications (such as most media players) use it for time
> synchronisation. i.e. assume that it is the time that passes until a
> sample I write to a PCM device now would take to be played.


More information about the Alsa-devel mailing list