Re: [pulseaudio-discuss] [RFC 06/12] bluetooth: Register MP3 endpoint for bluetooth

2012-02-10 Thread Pierre-Louis Bossart
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

Re: [pulseaudio-discuss] [RFC 06/12] bluetooth: Register MP3 endpoint for bluetooth

2012-02-10 Thread Dalleau, Frederic
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

Re: [pulseaudio-discuss] [RFC 06/12] bluetooth: Register MP3 endpoint for bluetooth

2012-02-08 Thread Pierre-Louis Bossart
+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

[pulseaudio-discuss] [RFC 06/12] bluetooth: Register MP3 endpoint for bluetooth

2012-02-06 Thread Frédéric Dalleau
--- 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