Hello All,

I have trying to use mmap for the audio buffer in my kernel from
user-space. The current tinyplay that I am using do not use the MMAP.

I couldn't find anywhere a version of tinyplay/tinycap using MMAP.
Is anyone aware of a tinyplay/tinycap supporting MMAP?

In my tinyalsa library, the following APIs are already present.

int pcm_mmap_write(struct pcm *pcm, const void *data, unsigned int count);
int pcm_mmap_read(struct pcm *pcm, void *data, unsigned int count);
int pcm_mmap_begin(struct pcm *pcm, void **areas, unsigned int *offset,
                   unsigned int *frames);
int pcm_mmap_commit(struct pcm *pcm, unsigned int offset, unsigned int 
frames);

Can anyone help me in this regard?

Regards,
Priyaranjan

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to