Hi Pierre, A2DP allows for all frequencies, but only 44.1 and 48 are
mandatory to be supported by the headset. As a source it makes sense
to support all frequencies, since they will be directly defined by the
file being played.
Nevermind, I confused SBC and MP3.
You're right, however I rememb
Hi Pierre,
On Wed, Feb 8, 2012 at 9:07 PM, Pierre-Louis Bossart
wrote:
>
>> + static const a2dp_mpeg_t source_caps = {
>> + .channel_mode = BT_A2DP_CHANNEL_MODE_MONO |
>> BT_A2DP_CHANNEL_MODE_STEREO |
>> + BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL |
>> BT_A2DP_CHANNEL_MOD
+static const a2dp_mpeg_t source_caps = {
+.channel_mode = BT_A2DP_CHANNEL_MODE_MONO |
BT_A2DP_CHANNEL_MODE_STEREO |
+BT_A2DP_CHANNEL_MODE_DUAL_CHANNEL |
BT_A2DP_CHANNEL_MODE_JOINT_STEREO,
+.layer = BT_MPEG_LAYER_1 | BT_MPEG_LAYER_2 | BT_MPEG_LAYER_3
---
src/modules/bluetooth/bluetooth-util.c | 37 ---
1 files changed, 28 insertions(+), 9 deletions(-)
diff --git a/src/modules/bluetooth/bluetooth-util.c
b/src/modules/bluetooth/bluetooth-util.c
index 15c544e..deef7ce 100644
--- a/src/modules/bluetooth/bluetooth-ut