freebsd-ports/lang/squeak/files/patch-unix_vm-sound-pulse_sqUnixSoundPulseAudio.c
Alexey Dokuchaev afbeb7332b - Drop `archivers/unzip' bdep; base system unzip(1) is sufficient
- Fix some sloppy code to make Clang happy and remove USE_GCC knob
- Simplify post-install target recipe; remove one trivial comment
2014-07-30 11:25:30 +00:00

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);