From 0d2acc20841fc4c8615c8b41a91d161647c1387d Mon Sep 17 00:00:00 2001 From: Felix Wolfsteller Date: Sat, 29 Mar 2025 23:40:31 +0100 Subject: [PATCH] pcm: fix minor typos in doc Closes: https://github.com/alsa-project/alsa-lib/pull/446 Signed-off-by: Felix Wolfsteller Signed-off-by: Jaroslav Kysela --- src/pcm/pcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index d51e8abd..da339ace 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -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) -- 2.47.1