Julien Claassen wrote:
> Does the ALSA timter interface take its timing info from the soundcard
> (sample clock) or from the system's timer (RTC)?

ALSA's timer interface can use
1) the system timer (which is not the RTC timer),
2) the RTC timer (if it is available),
3) a sound card timer, if the sound card has a programmable timer (very
   few actually have one),
4) a PCM slave timer, which generates timer ticks at period boundaries
   (PCM slave timers are available for every hardware sound device, but
   only while running, i.e., while sound is actually being played/recorded).

> If it is the system: Is there a way to get a clock source from the soundcard
> using the ALSA API?

The device name of the timer device "hw" has several parameters:
1) hw:CLASS=1,DEV=0
2) hw:CLASS=1,DEV=1
3) hw:CLASS=2,CARD=xxx,DEV=yyy
4) hw:CLASS=3,CARD=xxx,DEV=yyy,SUBDEV=zzz


HTH
Clemens

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to