配置蓝牙编解码器

配置蓝牙编解码器

我正在尝试做的事情:让我的笔记本电脑通过蓝牙将音频发送到支持 AAC 的耳机。

我经历了很多麻烦使蓝牙音频在 Ubuntu 16.04 LTS 上正常工作。现在它可以正常工作了,这是我得到的 HCI 转储:

HCI sniffer - Bluetooth packet analyzer ver 5.37
device: hci0 snap_len: 1500 filter: 0x400
> AVDTP(s): Discover cmd: transaction 1 nsp 0x00
< AVDTP(s): Discover rsp: transaction 1 nsp 0x00
    ACP SEID 1 - Audio Source
    ACP SEID 2 - Audio Sink
> AVDTP(s): All Capabilities cmd: transaction 2 nsp 0x00
    ACP SEID 1
< AVDTP(s): All Capabilities rsp: transaction 2 nsp 0x00
    Media Transport
    Media Codec - SBC
      16kHz 32kHz 44.1kHz 48kHz 
      Mono DualChannel Stereo JointStereo 
      4 8 12 16 Blocks
      4 8 Subbands
      SNR Loudness 
      Bitpool Range 2-64
    Delay Reporting
> AVDTP(s): All Capabilities cmd: transaction 3 nsp 0x00
    ACP SEID 2
< AVDTP(s): All Capabilities rsp: transaction 3 nsp 0x00
    Media Transport
    Media Codec - SBC
      16kHz 32kHz 44.1kHz 48kHz 
      Mono DualChannel Stereo JointStereo 
      4 8 12 16 Blocks
      4 8 Subbands
      SNR Loudness 
      Bitpool Range 2-64
    Delay Reporting
> AVDTP(s): All Capabilities cmd: transaction 4 nsp 0x00
    ACP SEID 1
< AVDTP(s): All Capabilities rsp: transaction 4 nsp 0x00
    Media Transport
    Media Codec - SBC
      16kHz 32kHz 44.1kHz 48kHz 
      Mono DualChannel Stereo JointStereo 
      4 8 12 16 Blocks
      4 8 Subbands
      SNR Loudness 
      Bitpool Range 2-64
    Delay Reporting
> AVDTP(s): Set config cmd: transaction 5 nsp 0x00
    ACP SEID 1 - INT SEID 1
    Media Transport
    Media Codec - SBC
      44.1kHz 
      JointStereo 
      16 Blocks
      8 Subbands
      Loudness 
      Bitpool Range 2-53
    Delay Reporting
< AVDTP(s): Set config rsp: transaction 5 nsp 0x00
> AVDTP(s): Delay Report cmd: transaction 6 nsp 0x00
    ACP SEID 1 delay 150.0ms
< AVDTP(s): Delay Report rsp: transaction 6 nsp 0x00
> AVDTP(s): Open cmd: transaction 7 nsp 0x00
    ACP SEID 1
< AVDTP(s): Open rsp: transaction 7 nsp 0x00
< AVDTP(s): Start cmd: transaction 14 nsp 0x00
    ACP SEID 1
> AVDTP(s): Start rsp: transaction 14 nsp 0x00
< AVDTP(m): ver 2 cc 0 pt 1 seqn 0 time 0 ssrc 1

从这里我看到它最终使用 SBC,MPEG24/AAC 甚至从未被提及。耳机 (Bose QC35) 肯定支持它。

我尝试谷歌搜索,但似乎 Linux 上的蓝牙编解码器配置根本没有任何内容。我唯一找到的是证据BlueZ 已经支持 MPEG24/AAC 好几年了。有人能建议如何为蓝牙连接启用 MPEG24/AAC 吗?

相关内容