- Fix some sloppy code to make Clang happy and remove USE_GCC knob - Simplify post-install target recipe; remove one trivial comment
15 lines
470 B
C
15 lines
470 B
C
--- 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);
|
|
|