pcm: snd_pcm_mmap_readi - fix typo in comment

\param size frames to be *read*

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2020-10-29 20:34:17 +01:00
parent 1d993b37ab
commit 2757191e3b

View 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) * \brief Read interleaved frames from a PCM using direct buffer (mmap)
* \param pcm PCM handle * \param pcm PCM handle
* \param buffer frames containing buffer * \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 * \return a positive number of frames actually read otherwise a
* negative error code * negative error code
* \retval -EBADFD PCM is not in the right state (#SND_PCM_STATE_PREPARED or #SND_PCM_STATE_RUNNING) * \retval -EBADFD PCM is not in the right state (#SND_PCM_STATE_PREPARED or #SND_PCM_STATE_RUNNING)