diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2015-01-04 18:24:22 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2015-01-04 18:24:22 +0000 |
commit | c9fdd43a1e32280178b1416d72bf41174ca89a4c (patch) | |
tree | a434b00d12d871467a4ff0d56b57538bbdee013a | |
parent | 97fd198549aae9f0d1d15e3ba001d31e1be10486 (diff) | |
download | ports-c9fdd43a1e32280178b1416d72bf41174ca89a4c.tar.gz ports-c9fdd43a1e32280178b1416d72bf41174ca89a4c.zip |
Notes
-rw-r--r-- | audio/fluidsynth/files/patch-src__drivers__fluid_alsa.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/fluidsynth/files/patch-src__drivers__fluid_alsa.c b/audio/fluidsynth/files/patch-src__drivers__fluid_alsa.c new file mode 100644 index 000000000000..26d07b59f84a --- /dev/null +++ b/audio/fluidsynth/files/patch-src__drivers__fluid_alsa.c @@ -0,0 +1,17 @@ +--- src/drivers/fluid_alsa.c 2012-08-16 00:01:13.000000000 -0400 ++++ src/drivers/fluid_alsa.c 2014-12-20 12:59:44.000000000 -0500 +@@ -348,5 +348,4 @@ + snd_pcm_wait(pcm, 1); + break; +- case -EPIPE: + case -EBADFD: + if (snd_pcm_prepare(pcm) != 0) { +@@ -355,5 +354,8 @@ + } + break; ++ case -EPIPE: ++#if EPIPE != ESTRPIPE + case -ESTRPIPE: ++#endif + if ((snd_pcm_resume(pcm) != 0) && (snd_pcm_prepare(pcm) != 0)) { + FLUID_LOG(FLUID_ERR, "Failed to resume the audio device"); |