[alsa-devel] Is there a way to figure out if the clocks of two snd_pcm_t's deviate? (snd_pcm_info_get_sync?)

Lennart Poettering mznyfn at 0pointer.de
Wed Sep 9 01:13:45 CEST 2009

On Fri, 04.09.09 08:44, Jaroslav Kysela (perex at perex.cz) wrote:

> All standard soundcards have only one clock source, so if  
> snd_pcm_info_get_card() number matches, the streams will most probably  
> run in sync.

Hmm, does this also mean that SPDIF output and analog output of the
same sound card stay in sync on most cards?

> I would suggest to match card number as default for used streams and add  
> an user option to modify the stream word clock configuration for your 
> app.

OK, sounds good.


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

More information about the Alsa-devel mailing list