在Ubuntu 22.04上启用LDAC蓝牙编码高清音频的方法 |
您所在的位置:网站首页 › L荣耀9x支持LDAC音质吗 › 在Ubuntu 22.04上启用LDAC蓝牙编码高清音频的方法 |
安装PipeWire
1、安装WirePlumber作为会话管理器: sudo apt install pipewire-media-session- wireplumber 注意命令中pipewire-media-session-末尾的-,这是为了在同一命令中移除它,因为将使用wireplumber代替。 2、为当前用户启动WirePlumber: systemctl --user --now enable wireplumber.service 配置ALSA1、安装ALSA插件: sudo apt install pipewire-audio-client-libraries 2、将配置文件从PipeWire文档复制到ALSA配置目录: sudo cp /usr/share/doc/pipewire/examples/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d/ 检查/etc/alsa/conf.d/目录下是否有其他配置文件(例如Pulse配置),你可能需要移除它们。 配置PulseAudio一切应该已经由pipewire-pulse包自动完成,该包应该已经由wireplumber包作为推荐安装。如果没有,可以手动安装: sudo apt install pipewire-pulse 配置蓝牙安装编解码器并从PulseAudio中移除蓝牙,以便直接由PipeWire处理: sudo apt install libldacbt-{abr,enc}2 libspa-0.2-bluetooth pulseaudio-module-bluetooth- 支持的编解码器是SBC和LDAC。由于专利和其他技术原因,不支持aptX和AAC编解码器。 完成设置重启你的系统,并通过运行以下命令检查是否正常工作: LANG=C pactl info | grep '^Server Name' 如果一切正常,你应该看到服务器名称显示为PipeWire,这意味着LDAC编解码器已经启用。 参考链接:https://gist.github.com/the-spyke/2de98b22ff4f978ebf0650c90e82027e |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |