From: James Courtier-Dutton <James@superbug.demon.co.uk>
To: ALSA development <alsa-devel@alsa-project.org>
Subject: Sound card word clocks.
Date: Tue, 03 Jan 2006 23:45:35 +0000 [thread overview]
Message-ID: <43BB0C9F.5050002@superbug.demon.co.uk> (raw)
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
reply other threads:[~2006-01-03 23:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43BB0C9F.5050002@superbug.demon.co.uk \
--to=james@superbug.demon.co.uk \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox