aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Wilson <ksattic@gmail.com>2014-06-03 12:46:06 -0700
committerSimon Wilson <ksattic@gmail.com>2014-06-03 12:46:06 -0700
commit2516c01cfcc657add063cc1ab667d65c707b211e (patch)
tree8e7d04035fc611fcbc6bc863821c7c56d52a625c /include
parentac6b1b9d9d020809ebdf8d10f11dd6e46ea57e6d (diff)
parentbb7c5dfd959e0088c5e64ba5e9b3f876463a5523 (diff)
Merge pull request #34 from elaurent/master
add support for mmap read
Diffstat (limited to 'include')
-rw-r--r--include/tinyalsa/asoundlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tinyalsa/asoundlib.h b/include/tinyalsa/asoundlib.h
index ea8e23d..e9861e3 100644
--- a/include/tinyalsa/asoundlib.h
+++ b/include/tinyalsa/asoundlib.h
@@ -177,6 +177,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);