public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
* Sound card word clocks.
@ 2006-01-03 23:45 James Courtier-Dutton
  0 siblings, 0 replies; only message in thread
From: James Courtier-Dutton @ 2006-01-03 23:45 UTC (permalink / raw)
  To: ALSA development

Hi,

I was wondering if it would be useful to let alsa-lib
1) read sound card word clocks. Do all sound cards have word clock 
registers? I know all Creative ones do.

2) set timer period interrupts based on the sound card's word clock.
This could make a call back similar to periods_elapsed(), which happens 
when a period interrupt happens.

They could possibly be used for a better alsa-lib resampler.

Another possible alternative could be a form of nanosleep() that auto 
repeats. I.e. the kernel causes a user-land callback every X 
nanoseconds. Does one exist in the kernel?
I think a wordclock based callback would probably be more in sync with 
the sound card than a nanosleep() one.

James


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-03 23:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-03 23:45 Sound card word clocks James Courtier-Dutton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox