首先需要有支持aptx的蓝牙音箱或耳机,比如声擎HD3。
macbook很早就已支持AAC和aptx,音质上 有线 ≈ aptx > aac > SCO
## 下载蓝牙扩展工具
百度网盘:
链接: https://pan.baidu.com/s/1cc49A94WNaWYJLL-GpCknw 密码: 72m8
国外链接:
https://www.dropbox.com/s/ks2rifn0ilue8yu/Bluetooth%20Explorer.app.zip?dl=0
apple官方下载地址:
https://developer.apple.com/download/more/
打开文件找到hardware里面的Bluetooth Explorer
## 配置aptx
打开Bluetooth Explorer.app,它没有主界面。
![569cd2fbb149cc73c9f46cea10858018.png](https://ppmm.org/images/2021/06/14/569cd2fbb149cc73c9f46cea10858018.png)
点击菜单tools,选择 audio option
![921d21f8d7088e901d4856f41288379d.png](https://ppmm.org/images/2021/06/14/921d21f8d7088e901d4856f41288379d.png)
audio options界面, 勾选 Disable Handsfree Profile
![f0313afb2906a04de85970b3cdd583c6.png](https://ppmm.org/images/2021/06/14/f0313afb2906a04de85970b3cdd583c6.png)
进入terminal,在terminal中执行命令行
```
sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true
sudo defaults write bluetoothaudiod "Enable AAC codec" -bool false
```
禁止默认aac才能开启aptx,切记。然后重启macbook,关闭蓝牙功能在开启,或者关闭蓝牙设备再开启无法直接启用aptx解码器。
![15f873c66d9449fda2cdfc65be62f609.png](https://ppmm.org/images/2021/06/14/15f873c66d9449fda2cdfc65be62f609.png)
如果你的蓝牙设备不支持aptx,那么开启aac即可
```
sudo defaults write bluetoothaudiod "Enable AptX codec" -bool false
sudo defaults write bluetoothaudiod "Enable AAC codec" -bool true
```