aboutsummaryrefslogtreecommitdiff
path: root/lang/squeak/files/patch-unix_vm-sound-pulse_sqUnixSoundPulseAudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/squeak/files/patch-unix_vm-sound-pulse_sqUnixSoundPulseAudio.c')
-rw-r--r--lang/squeak/files/patch-unix_vm-sound-pulse_sqUnixSoundPulseAudio.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/squeak/files/patch-unix_vm-sound-pulse_sqUnixSoundPulseAudio.c b/lang/squeak/files/patch-unix_vm-sound-pulse_sqUnixSoundPulseAudio.c
new file mode 100644
index 000000000000..8eaf251b3059
--- /dev/null
+++ b/lang/squeak/files/patch-unix_vm-sound-pulse_sqUnixSoundPulseAudio.c
@@ -0,0 +1,15 @@
+--- unix/vm-sound-pulse/sqUnixSoundPulseAudio.c.orig 2012-08-08 10:34:42 +0800
++++ unix/vm-sound-pulse/sqUnixSoundPulseAudio.c
+@@ -995,10 +995,10 @@ DBGMSG("<sound_StartRecording()");
+ static sqInt sound_StopRecording(void) {
+ DBGMSG(">sound_StopRecording()");
+
+- if (!audioIn.open) return;
++ if (!audioIn.open) return false;
+ audioIn.open = false;
+
+- if (NULL == audioIn.pa_conn) return;
++ if (NULL == audioIn.pa_conn) return false;
+
+ ioThreadStall(&audioIn);
+