Skip to contentSkip to conversation

Filling "Struct snd_dma_buffer" manually

DISCUSSION dinesh 1 participant 1 message Jul 24, 2008

lore
Share & tools
lore

dinesh

author
#0 lore raw

Hello,

I am stuck with a problem please help me.

I have allocated a buffer in ram and i want that if i playback something from user end then alsa library exchanges data with this buffer using memory mapping but for this i have to fill a

structure "snd_dma_buffer" in driver code but as i have told i dont
want to use dma so i have to fill it manually with address of ram buffer.

Please tell me if it is possible if yes then help me.

Thanks in advance..

Regards,
Dinesh Dua