From: Andrzej Kaczmarek Date: Mon, 3 Feb 2014 16:55:44 +0000 (+0100) Subject: android/hal-audio: Remove unsupported mono channel mode X-Git-Tag: android-x86-4.4-r3~5558 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f6101a11d8e36e3c4bddae38622b481b5533190a;p=android-x86%2Fexternal-bluetooth-bluez.git android/hal-audio: Remove unsupported mono channel mode AudioFlinger can only provide PCM 16bit Stereo data for A2DP track so we should not advertise mono channel mode in capabilities since we can't downmix this internally. --- diff --git a/android/hal-audio.c b/android/hal-audio.c index 8ef5bff72..4578c5365 100644 --- a/android/hal-audio.c +++ b/android/hal-audio.c @@ -227,8 +227,7 @@ struct a2dp_audio_dev { static const a2dp_sbc_t sbc_presets[] = { { .frequency = SBC_SAMPLING_FREQ_44100 | SBC_SAMPLING_FREQ_48000, - .channel_mode = SBC_CHANNEL_MODE_MONO | - SBC_CHANNEL_MODE_DUAL_CHANNEL | + .channel_mode = SBC_CHANNEL_MODE_DUAL_CHANNEL | SBC_CHANNEL_MODE_STEREO | SBC_CHANNEL_MODE_JOINT_STEREO, .subbands = SBC_SUBBANDS_4 | SBC_SUBBANDS_8,