Browse Source

Fix typo in alsa_in

Patch provided by colinf in

   http://trac.jackaudio.org/attachment/ticket/227/typos.patch
tags/0.124.0
Adrian Knoth 12 years ago
parent
commit
3c04e83e40
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      alsa_in.c

+ 2
- 2
alsa_in.c View File

@@ -110,7 +110,7 @@ static int xrun_recovery(snd_pcm_t *handle, int err) {
if (err == -EPIPE) { /* under-run */
err = snd_pcm_prepare(handle);
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;
} else if (err == -EAGAIN) {
while ((err = snd_pcm_resume(handle)) == -EAGAIN)
@@ -118,7 +118,7 @@ static int xrun_recovery(snd_pcm_t *handle, int err) {
if (err < 0) {
err = snd_pcm_prepare(handle);
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;
}


Loading…
Cancel
Save