[alsa-devel] Copy ALSA buffer to the buffer allocated in my driver.
Hi all,
I am writing my own alsa driver for playback application.1. I have no idea how to copy the alsa buffer to intermediate buffer (my Buffer) . 2. I have taken dummy driver code as example. 3. Can anyone help me. What code has to be included in the dummy driver to copy alsa buffer to intermediate buffer.
Regards
Cherry
On Tue, Aug 2, 2011 at 2:03 PM, `/ET!-i1S!-i yethish7@gmail.com wrote:
I am writing my own alsa driver for playback application.1. I have no idea how to copy the alsa buffer to intermediate buffer (my Buffer) . 2. I have taken dummy driver code as example. 3. Can anyone help me. What code has to be included in the dummy driver to copy alsa buffer to intermediate buffer.
Dude,
Clemens already answered your questions. There are also plenty of drivers in the mainline kernel that can serve as an example. Unless you get more specific about what you're planning to do, I doubt that anyone can give you more specific help. What hardware is your driver for, or is it purley virtual? What's the end application?
Daniel
participants (2)
-
`/ET!-i1S!-i
-
Daniel Mack