]> git.alsa-project.org Git - alsa-lib.git/commitdiff
pcm: snd_pcm_mmap_readi - fix typo in comment
authorJaroslav Kysela <perex@perex.cz>
Thu, 29 Oct 2020 19:34:17 +0000 (20:34 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 29 Oct 2020 19:34:25 +0000 (20:34 +0100)
\param size frames to be *read*

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_mmap.c

index 9600c3831238db4d69b27d0374a8f6d8e3db41ac..9cbaae05250ac17ff13b5d5f17e8e1e909c3e84d 100644 (file)
@@ -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)