Merge "hal: avoid setting stereo channel mask to voip usecase"
This commit is contained in:
commit
607b8867f4
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue