From: Jaroslav Kysela Date: Thu, 29 Oct 2020 19:34:17 +0000 (+0100) Subject: pcm: snd_pcm_mmap_readi - fix typo in comment X-Git-Tag: v1.2.5~156 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=2757191e3b85d491705b31c6ecca2dbd96d26ade;p=alsa-lib.git pcm: snd_pcm_mmap_readi - fix typo in comment \param size frames to be *read* Signed-off-by: Jaroslav Kysela --- diff --git a/src/pcm/pcm_mmap.c b/src/pcm/pcm_mmap.c index 9600c383..9cbaae05 100644 --- a/src/pcm/pcm_mmap.c +++ b/src/pcm/pcm_mmap.c @@ -183,7 +183,7 @@ snd_pcm_sframes_t snd_pcm_mmap_writen(snd_pcm_t *pcm, void **bufs, snd_pcm_ufram * \brief Read interleaved frames from a PCM using direct buffer (mmap) * \param pcm PCM handle * \param buffer frames containing buffer - * \param size frames to be written + * \param size frames to be read * \return a positive number of frames actually read otherwise a * negative error code * \retval -EBADFD PCM is not in the right state (#SND_PCM_STATE_PREPARED or #SND_PCM_STATE_RUNNING)