diff options
author | Eric Laurent <elaurent@google.com> | 2013-09-16 14:31:17 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2013-09-27 09:51:38 -0700 |
commit | bb7c5dfd959e0088c5e64ba5e9b3f876463a5523 (patch) | |
tree | 2170e2c917bb9f5141cd4ee1323bc02b39b05fa8 /include | |
parent | 782bfda5e796cb46d0e7be0dc882ff686d5ad2a2 (diff) |
add support for mmap read
Diffstat (limited to 'include')
-rw-r--r-- | include/tinyalsa/asoundlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |