diff options
Diffstat (limited to 'system/kegs/allow_sound_open_fail.diff')
-rw-r--r-- | system/kegs/allow_sound_open_fail.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/system/kegs/allow_sound_open_fail.diff b/system/kegs/allow_sound_open_fail.diff new file mode 100644 index 0000000000000..bf9086f72d7ef --- /dev/null +++ b/system/kegs/allow_sound_open_fail.diff @@ -0,0 +1,15 @@ +diff -Naur kegs.0.91/src/sound.c kegs.0.91.patched/src/sound.c +--- kegs.0.91/src/sound.c 2004-12-06 19:42:47.000000000 -0500 ++++ kegs.0.91.patched/src/sound.c 2015-06-21 17:48:21.000000000 -0400 +@@ -363,9 +363,9 @@ + + ret = read(read_fd, &tmp, 4); + if(ret != 4) { +- printf("parent dying, could not get sample rate from child\n"); ++ printf("parent could not get audio sample rate from child, disabling sound.\n"); + printf("ret: %d, fd: %d errno:%d\n", ret, read_fd, errno); +- exit(1); ++ g_audio_enable = 0; + } + close(read_fd); + |