]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fix comment typos for snd_pcm_read[in]()
authorJaroslav Kysela <perex@perex.cz>
Tue, 9 Sep 2008 17:56:17 +0000 (19:56 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 9 Sep 2008 17:58:59 +0000 (19:58 +0200)
From: William Estrada <MrUmunhum@popdial.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm.c

index a0cc2e0345ed9d5f017cce4e0193d30ab61cab4b..59e433fcd7676eb30899c3aaacfaead638394dfa 100644 (file)
@@ -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)