aboutsummaryrefslogtreecommitdiffstats
path: root/lang/squeak/files/patch-unix_vm-sound-pulse_sqUnixSoundPulseAudio.c
blob: ba95a682516dab97e60252c8bae2ff1cbdb53175 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- unix/vm-sound-pulse/sqUnixSoundPulseAudio.c.orig	2012-08-08 02:34:42 UTC
+++ 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);