From bb7c5dfd959e0088c5e64ba5e9b3f876463a5523 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Mon, 16 Sep 2013 14:31:17 -0700 Subject: add support for mmap read --- include/tinyalsa/asoundlib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/tinyalsa/asoundlib.h b/include/tinyalsa/asoundlib.h index 3d20b94..f578c4d 100644 --- a/include/tinyalsa/asoundlib.h +++ b/include/tinyalsa/asoundlib.h @@ -185,6 +185,7 @@ int pcm_read(struct pcm *pcm, void *data, unsigned int count); * mmap() support. */ 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); -- cgit v1.2.3