Merge "hal: fix for voip volume setting when select_devices()"

This commit is contained in:
qctecmdr 2019-05-07 03:35:01 -07:00 committed by Gerrit - the friendly Code Review server
commit 61f4432549
1 changed files with 1 additions and 1 deletions

View File

@ -2567,7 +2567,7 @@ int select_devices(struct audio_device *adev, audio_usecase_t uc_id)
}
}
if (usecase == voip_usecase) {
if (usecase->type != PCM_CAPTURE && usecase == voip_usecase) {
struct stream_out *voip_out = voip_usecase->stream.out;
audio_extn_utils_send_app_type_gain(adev,
voip_out->app_type_cfg.app_type,