Merge "hal: avoid setting stereo channel mask to voip usecase"

This commit is contained in:
Linux Build Service Account 2019-03-25 05:47:51 -07:00 committed by Gerrit - the friendly Code Review server
commit 607b8867f4
1 changed files with 1 additions and 2 deletions

View File

@ -6637,8 +6637,7 @@ int adev_open_output_stream(struct audio_hw_device *dev,
if (!voice_extn_is_compress_voip_supported()) {
if (out->sample_rate == 8000 || out->sample_rate == 16000 ||
out->sample_rate == 32000 || out->sample_rate == 48000) {
//FIXME: add support for MONO stream configuration when audioflinger mixer supports it
out->channel_mask = AUDIO_CHANNEL_OUT_STEREO;
out->channel_mask = AUDIO_CHANNEL_OUT_MONO;
out->usecase = USECASE_AUDIO_PLAYBACK_VOIP;
out->format = AUDIO_FORMAT_PCM_16_BIT;