ZorinOS18を持ち出し用のノートPCに入れていたが、Bluetoothイヤホンをつなげた時に
AACが使えなかったので解決しました。
何があったか
ZorinOS18に私の手持ちのBluetoothイヤホン(ATH-TWX7)を接続した時、
設定でコーデックを見た際にSBC,SBC-XQ,LDACしか出てこずAACが選べませんでした。
SBC-XQとは
SBC-XQとはBluetoothの標準のコーデックのSBCを魔改造したもの。
SBCの場合だと約328kbpsなのがSBC-XQを使うことで、
400~500kbpsまでビットレート上がる。
理論上すべてのBluetoothイヤホンに対応しているらしい。
私のTWX-7で使った場合はプツプツと音がとぎれとぎれになってしまったので、
相性問題があると思われる。
色々調べたところどうやらZorinOS18 Coreで搭載してるPipeWireではAACが入っていないことがわかりました。
つかえるようにするにはPPA(サードパーティのリポジトリ)を導入する必要があるのでやってみました。
やり方
まずはAACが使えるリポジトリのPPAを登録します
コマンドを使用します(端末 ターミナルという名前かもしれない)
sudo add-apt-repository ppa:aglasgall/pipewire-extra-bt-codecs
というコマンドを打つと以下のように出ると思います
PPA publishes dbgsym, you may need to include 'main/debug' component
リポジトリ: 'Types: deb
URIs: https://ppa.launchpadcontent.net/aglasgall/pipewire-extra-bt-codecs/ubuntu/
Suites: noble
Components: main
'
概要:
This PPA contains Pipewire packages rebuilt with support for additional Bluetooth codecs not supported in the base version in Ubuntu 22.04 (jammy). Currently these packages add support for AAC and aptX in addition to the Faststream, LDAC, and SBC(-XQ) support already in the distribution packages.
Note that these packages depend on libraries not in main as well as _non-free_ libraries (libfdk-aac2) and as such require you to have both the 'universe' and 'multiverse' repositories enabled.
Use this PPA in conjunction with the notes at https://gist.github.com/the-spyke/2de98b22ff4f978ebf0650c90e82027e to replace PulseAudio.
より詳しい情報: https://launchpad.net/~aglasgall/+archive/ubuntu/pipewire-extra-bt-codecs
リポジトリを追加しています。
続けるには「Enter」キーを、中止するにはCtrl-cを押してください。
ここではEnterキーを押してください
日本語化してない環境では英語でEnterを押せというメッセージが出る可能性があります。
Enterを押すとリポジトリを取得し始めます。
パッケージリストを読み込んでいます... 完了
と出たら完了です
次にパッケージリストを更新します
sudo apt update -y
その次にpipewireを再起動します
systemctl --user restart pipewire wireplumber
これで完了です。
設定を見ればAACコーデックが使えるはずです。
sudo apt install libfdk-aac2 libspa-0.2-bluetooth
おわりに
これでAACを使うことができます。
SBC-XQの方が安定していればよかったのですが私の環境だとなぜか安定していなかったので、
AACを導入しました。


コメント