From 56e9cdadf2e821452847327702899743bc608afd Mon Sep 17 00:00:00 2001 From: Vijayakumar Balakrishnan Date: Tue, 14 Jan 2025 14:16:34 +0530 Subject: [PATCH 1/2] mono device enumeration disabled since it impacts auto switch logic --- audiopassthru/src/AudioPassthru/AudioPassthruPrivate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiopassthru/src/AudioPassthru/AudioPassthruPrivate.cpp b/audiopassthru/src/AudioPassthru/AudioPassthruPrivate.cpp index 6171ae5..8fdfccd 100644 --- a/audiopassthru/src/AudioPassthru/AudioPassthruPrivate.cpp +++ b/audiopassthru/src/AudioPassthru/AudioPassthruPrivate.cpp @@ -164,7 +164,7 @@ int AudioPassthruPrivate::sndDeviceHandleToSoundDevices() // Skip mono devices if SND_DEVICES_MONO_BUG_SKIP_MONO_DEVICES is IS_TRUE if (SND_DEVICES_MONO_BUG_SKIP_MONO_DEVICES && sound_device.deviceNumChannel == 1) { - //continue; + continue; } // Figure out if this is a real device or not From 895013db0609d95be8d099e2813424d07c8c929c Mon Sep 17 00:00:00 2001 From: Vijayakumar Balakrishnan Date: Tue, 14 Jan 2025 15:18:01 +0530 Subject: [PATCH 2/2] fix for intermittent mute --- fxsound/Source/GUI/FxController.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/fxsound/Source/GUI/FxController.cpp b/fxsound/Source/GUI/FxController.cpp index e1ece61..986a11f 100644 --- a/fxsound/Source/GUI/FxController.cpp +++ b/fxsound/Source/GUI/FxController.cpp @@ -639,11 +639,8 @@ void FxController::setOutput(int output, bool notify) { if (FxModel::getModel().getPowerState()) { - if (!dfx_dsp_.isPowerOn()) - { - dfx_dsp_.powerOn(true); - audio_passthru_->mute(false); - } + dfx_dsp_.powerOn(true); + audio_passthru_->mute(false); } }