From: James Wise Date: Mon, 6 Feb 2017 03:29:33 +0000 (+1100) Subject: Disable audio output when closing a bf device after playback. X-Git-Tag: 2.1.0_Beta2~48^2^2~17 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c123aae818083df7bbbf22002eef71b1bc727b14;p=casparcg Disable audio output when closing a bf device after playback. --- diff --git a/modules/bluefish/util/blue_velvet.cpp b/modules/bluefish/util/blue_velvet.cpp index dcc52f07d..5e2bffa6f 100644 --- a/modules/bluefish/util/blue_velvet.cpp +++ b/modules/bluefish/util/blue_velvet.cpp @@ -206,6 +206,9 @@ namespace caspar { namespace bluefish { BLUE_UINT32 bvc_wrapper::detach() { + // disable the audio on detach + unsigned int audio_value = 0; + bfcQueryCardProperty32((BLUEVELVETC_HANDLE)bvc_.get(), EMBEDEDDED_AUDIO_OUTPUT, audio_value); return bfcDetach((BLUEVELVETC_HANDLE)bvc_.get()); }