From: Charles Eidsness <charles.eidsness@rogers.com>
To: alsa-devel@alsa-project.org
Subject: Data Transfer Question
Date: Mon, 14 Jun 2004 10:43:38 -0400 [thread overview]
Message-ID: <40CDB99A.1050004@rogers.com> (raw)
I'm working on an ALSA driver for an embedded MIPS processor and am
having trouble getting it to run at a rate > 16kHz.
What I've notice when it's running at 16kHz or less the ALSA API is
calling my pointer function before the first interrupt, i.e.
START
call pointer
interrupt (which calls snd_pcm_period_elapsed)
call pointer
call pointer
interrupt (which calls snd_pcm_period_elapsed)
.
.
.
And everything sounds fine, but when I run at > 16kHz it doesn't call
the pointer function before the first interrupt, and after the first
interrupt it stops and then starts, i.e.
START
interrupt (which calls snd_pcm_period_elapsed)
call pointer
STOP
START
interrupt (which calls snd_pcm_period_elapsed)
call pointer
STOP
.
.
And ends up sounding very choppy. Can anyone help shed some light on
what's going on? Why is the API calling the pointer function before the
first interrupt?
You can find my code here:
http://members.rogers.com/charles.eidsness/au1000.c
Thanks,
Charles
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
reply other threads:[~2004-06-14 14:43 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=40CDB99A.1050004@rogers.com \
--to=charles.eidsness@rogers.com \
--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