Commit 79581e1e authored by Adrian Knoth's avatar Adrian Knoth
Browse files

Fix typo in alsa_in.c

Patch by colinf via

   http://trac.jackaudio.org/attachment/ticket/227/typos.patch
parent 2023aae7
...@@ -109,7 +109,7 @@ static int xrun_recovery(snd_pcm_t *handle, int err) { ...@@ -109,7 +109,7 @@ static int xrun_recovery(snd_pcm_t *handle, int err) {
if (err == -EPIPE) { /* under-run */ if (err == -EPIPE) { /* under-run */
err = snd_pcm_prepare(handle); err = snd_pcm_prepare(handle);
if (err < 0) if (err < 0)
printf("Can't recovery from underrun, prepare failed: %s\n", snd_strerror(err)); printf("Can't recover from underrun, prepare failed: %s\n", snd_strerror(err));
return 0; return 0;
} else if (err == -EAGAIN) { } else if (err == -EAGAIN) {
while ((err = snd_pcm_resume(handle)) == -EAGAIN) while ((err = snd_pcm_resume(handle)) == -EAGAIN)
...@@ -117,7 +117,7 @@ static int xrun_recovery(snd_pcm_t *handle, int err) { ...@@ -117,7 +117,7 @@ static int xrun_recovery(snd_pcm_t *handle, int err) {
if (err < 0) { if (err < 0) {
err = snd_pcm_prepare(handle); err = snd_pcm_prepare(handle);
if (err < 0) if (err < 0)
printf("Can't recovery from suspend, prepare failed: %s\n", snd_strerror(err)); printf("Can't recover from suspend, prepare failed: %s\n", snd_strerror(err));
} }
return 0; return 0;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment