From 891bc7692892967bc60755894f277ae60c9f8b68 Mon Sep 17 00:00:00 2001 From: Abramo Bagnara Date: Fri, 13 Apr 2001 15:40:56 +0000 Subject: [PATCH] Better PCM mmap API. Fixed pcm_multi --- aplay/aplay.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aplay/aplay.c b/aplay/aplay.c index bfc361c..f577136 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -496,6 +496,10 @@ int main(int argc, char *argv[]) } if (mmap_flag) { + snd_pcm_sframes_t snd_pcm_mmap_writei(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size); + snd_pcm_sframes_t snd_pcm_mmap_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t size); + snd_pcm_sframes_t snd_pcm_mmap_writen(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size); + snd_pcm_sframes_t snd_pcm_mmap_readn(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t size); writei_func = snd_pcm_mmap_writei; readi_func = snd_pcm_mmap_readi; writen_func = snd_pcm_mmap_writen; -- 2.47.1