Q2: Driver notified of MMAP commit.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux