Merge "hal: Update in_snd_device for USB headphone device use cases"

This commit is contained in:
qctecmdr 2019-04-15 23:20:39 -07:00 committed by Gerrit - the friendly Code Review server
commit 5f6ae9d4ae
1 changed files with 2 additions and 0 deletions

View File

@ -5595,6 +5595,8 @@ snd_device_t platform_get_input_snd_device(void *platform, audio_devices_t out_d
} else { } else {
snd_device = SND_DEVICE_IN_VOICE_SPEAKER_MIC; snd_device = SND_DEVICE_IN_VOICE_SPEAKER_MIC;
} }
} else {
snd_device = SND_DEVICE_IN_HANDSET_MIC;
} }
} }
} else if (my_data->use_generic_handset == true && // system prop is enabled } else if (my_data->use_generic_handset == true && // system prop is enabled