commit c7b9a2987322324cc129a1382ebacc5b5b4870a7 Author: Sangmin Choi Date: Wed Nov 30 09:16:43 2022 +0900 [BPM-9871] CSMAI2-55-Set-Property.patch diff --git a/audio/audio_hw.cpp b/audio/audio_hw.cpp index 7678423..89a8158 100755 --- a/audio/audio_hw.cpp +++ b/audio/audio_hw.cpp @@ -1209,6 +1209,9 @@ static int adev_set_parameters(struct audio_hw_device *dev, if (ret >= 0) { if (!strcmp(buf, "on")) { MVLOGD("Set NUGU Playback on"); + if( property_set("vendor.audio.nugu.enabled", "1") != 0 ) { + ALOGE("Failed to set vendor.audio.nugu.enable property"); + } //Fii add strat; For fix NUGU TTS jitter when BT connected and BTV live is playing; River 2022/07/17 if(gDevConStatus.a2dp_source_connected == true){ MVLOGD("Set BT Switch off"); @@ -1229,6 +1232,9 @@ static int adev_set_parameters(struct audio_hw_device *dev, } else if (!strcmp(buf, "off")){ MVLOGD("Set NUGU Playback off"); + if( property_set("vendor.audio.nugu.enabled", "0") != 0 ) { + ALOGE("Failed to set vendor.audio.nugu.enable property"); + } //Fii add strat; For fix NUGU TTS jitter when BT connected and BTV live is playing; River 2022/07/17 if(gDevConStatus.a2dp_source_connected == true){ MVLOGD("Set BT Switch on");