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

Dalleau, Frederic frederic.dalleau at intel.com
Fri Feb 10 10:11:40 PST 2012


Hi Pierre,

On Wed, Feb 8, 2012 at 9:07 PM, Pierre-Louis Bossart
<pierre-louis.bossart at linux.intel.com> 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_MODE_JOINT_STEREO,
>> +        .layer = BT_MPEG_LAYER_1 | BT_MPEG_LAYER_2 | BT_MPEG_LAYER_3,
>> +        .crc = 0,
>> +        .frequency = MPEG_SAMPLING_FREQ_44100|MPEG_SAMPLING_FREQ_48000,
>> +        .rfa = 0,
>> +        .mpf = 0,
>> +        .bitrate = 0xff,
>> +    };
>
> This doesn't seem right, I think A2DP allows for 32 kHz? 16kHz is probably
> not supported by anyone.
>
>

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.

Regards,
Frédéric


More information about the pulseaudio-discuss mailing list