From: Jaroslav Kysela Date: Tue, 9 Sep 2008 17:56:17 +0000 (+0200) Subject: Fix comment typos for snd_pcm_read[in]() X-Git-Tag: v1.0.18~4 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=1dd1ba94a3deced59f3a699583242b641b4d3771;p=alsa-lib.git Fix comment typos for snd_pcm_read[in]() From: William Estrada Signed-off-by: Jaroslav Kysela --- diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index a0cc2e03..59e433fc 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -1279,7 +1279,7 @@ snd_pcm_sframes_t snd_pcm_writen(snd_pcm_t *pcm, void **bufs, snd_pcm_uframes_t * \brief Read interleaved frames from a PCM * \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) @@ -1311,7 +1311,7 @@ snd_pcm_sframes_t snd_pcm_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes_t * \brief Read non interleaved frames to a PCM * \param pcm PCM handle * \param bufs frames containing buffers (one for each channel) - * \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)