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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux