]> git.alsa-project.org Git - alsa-lib.git/commitdiff
pcm: fix minor typos in doc
authorFelix Wolfsteller <felix.wolfsteller@gmail.com>
Sat, 29 Mar 2025 22:40:31 +0000 (23:40 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 7 Apr 2025 16:36:32 +0000 (18:36 +0200)
Closes: https://github.com/alsa-project/alsa-lib/pull/446
Signed-off-by: Felix Wolfsteller <felix.wolfsteller@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm.c

index d51e8abdeda54264ab4a08f2bb7bc72f8214021a..da339ace1529ce2f48728cfa9cfa202315e58cc3 100644 (file)
@@ -3098,7 +3098,7 @@ snd_pcm_sframes_t snd_pcm_avail(snd_pcm_t *pcm)
  * \param delayp Total I/O latency in frames
  * \return zero on success otherwise a negative error code
  *
- * The avail and delay values retuned are in sync.
+ * The avail and delay values returned are in sync.
  *
  * The function is thread-safe when built with the proper option.
  */
@@ -8753,7 +8753,7 @@ _snd_pcm_parse_config_chmaps(snd_config_t *conf)
  * -EPIPE (overrun or underrun) and -ESTRPIPE (stream is suspended)
  * error codes trying to prepare given stream for next I/O.
  *
- * Note that this function returs the original error code when it is not
+ * Note that this function returns the original error code when it is not
  * handled inside this function (for example -EAGAIN is returned back).
  */
 int snd_pcm_recover(snd_pcm_t *pcm, int err, int silent)