[alsa-devel] Rationale behind snd_pcm_htimestamp()

Lennart Poettering mznyfn at 0pointer.de
Wed Feb 25 22:42:23 CET 2009


On Wed, 25.02.09 16:13, Takashi Iwai (tiwai at suse.de) wrote:

> > Hmm, so I understood you correctly then the API would need changing to
> > get the timestamp, the delay and the avail value that belong together?
> 
> Yes, if you stick with snd_pcm_htimetamp(), snd_pcm_avil() and co.
> 
> But basically snd_pcm_status() does sync and fetch all status data.
> Shouldn't calling this suffice for your purpose?

Hmm, so snd_pcm_status() does sync? Good to know. I'll then use that.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the Alsa-devel mailing list