From: Eliot Blennerhassett <linux@audioscience.com>
To: alsa-devel@lists.sourceforge.net
Subject: Q2: Driver notified of MMAP commit.
Date: Thu, 01 Feb 2007 16:37:33 +1300 [thread overview]
Message-ID: <45C1607D.3090202@audioscience.com> (raw)
Greetings,
I am trying to add mmap support to our driver (asihpi).
I'm looking for a way for the driver to be notified when the application
commits more data into the mmapped buffer, so I can pass that on to our
DMA engine. Is there a driver operation that does this?
Aside: Is it true that ALSA assumes that once DMA is started, it will
run round and round the circular buffer forever (until stopped) no
matter whether there is valid data there or not?
Our DMA operates differently in that it only takes valid data, and then
stops until more data is written to the buffer. In this case the
detection of xrun condition is difficult...
thanks
Eliot
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
next reply other threads:[~2007-02-01 3:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-01 3:37 Eliot Blennerhassett [this message]
2007-02-01 14:15 ` Q2: Driver notified of MMAP commit Takashi Iwai
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=45C1607D.3090202@audioscience.com \
--to=linux@audioscience.com \
--cc=alsa-devel@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.