Browse Source

Fix typo in alsa_in.c

Patch by colinf via

   http://trac.jackaudio.org/attachment/ticket/227/typos.patch
tags/v1.9.10
Adrian Knoth 12 years ago
parent
commit
79581e1e62
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      example-clients/alsa_in.c

+ 2
- 2
example-clients/alsa_in.c View File

@@ -109,7 +109,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)
@@ -117,7 +117,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