From 9236b940a2c51ba3e7081a186c2db888e9b5bd82 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 27 Feb 2014 04:12:41 -0700 Subject: [PATCH] Fix audio startup (CoreAudio) Forgot to add a '!'. --- plugins/mac-capture/mac-audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mac-capture/mac-audio.c b/plugins/mac-capture/mac-audio.c index dd5259e74..d51457a5b 100644 --- a/plugins/mac-capture/mac-audio.c +++ b/plugins/mac-capture/mac-audio.c @@ -503,7 +503,7 @@ static bool coreaudio_init(struct coreaudio_data *ca) if (!ca_success(stat, ca, "coreaudio_initialize", "initialize")) goto fail; - if (coreaudio_start(ca)) + if (!coreaudio_start(ca)) goto fail; blog(LOG_INFO, "coreaudio: device '%s' initialized", ca->device_name);