[alsa-devel] Copy ALSA buffer to the buffer allocated in my driver.

Clemens Ladisch clemens at ladisch.de
Tue Aug 2 15:07:39 CEST 2011


`/ET!-i1S!-i wrote:
> 1. I have no idea how to copy the alsa buffer to intermediate buffer (my
> Buffer) for playback application .
> 2.  I have taken dummy driver code as example.
> 3. Can you please help me. What code has to be included in the below copy
> function to copy alsa buffer to my Buffer.

Something like copy_from_user().
See sound/pci/rme9652/hdsp.c for an example.


Regards,
Clemens


More information about the Alsa-devel mailing list