我无法再让pulseaudio识别我的蓝牙耳机(直到昨天才工作)。
pulseaudio
状态:
$ pactl info
Server String: /run/user/505443/pulse/native
Library Protocol Version: 34
Server Protocol Version: 35
Is Local: yes
Client Index: 65
Tile Size: 65472
Server Name: PulseAudio (on PipeWire 0.3.38)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: alsa_input.pci-0000_00_1f.3.analog-stereo
Cookie: 97f6:1e4d
$ pactl list sinks short
49 alsa_output.pci-0000_00_1f.3.analog-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
$ pactl list modules short
pactl list modules short
1 libpipewire-module-rtkit {
#nice.level = -11
#rt.prio = 88
#rt.time.soft = 2000000
#rt.time.hard = 2000000
}
2 libpipewire-module-protocol-native
3 libpipewire-module-profiler
5 libpipewire-module-metadata
7 libpipewire-module-spa-device-factory
9 libpipewire-module-spa-node-factory
11 libpipewire-module-client-node
13 libpipewire-module-client-device
15 libpipewire-module-portal
16 libpipewire-module-access {
# access.allowed to list an array of paths of allowed
# apps.
#access.allowed = [
# /usr/bin/pipewire-media-session
#]
# An array of rejected paths.
#access.rejected = [ ]
# An array of paths with restricted access.
#access.restricted = [ ]
# Anything not in the above lists gets assigned the
# access.force permission.
#access.force = flatpak
}
17 libpipewire-module-adapter
19 libpipewire-module-link-factory
21 libpipewire-module-session-manager
请注意没有列出蓝牙模块。我也无法加载它们:
$ pactl load-module module-bluez5-discover
Failure: No such entity
$ pactl load-module module-bluetooth-discover
Failure: No such entity
安装相应的Debian软件包:
$ dpkg -l pulseaudio-module-bluetooth
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================-============-============-============================================
ii pulseaudio-module-bluetooth 14.2-2 amd64 Bluetooth module for PulseAudio sound server
可能是什么问题?
注意我还尝试多次重新启动pulseaudio:
$ pulseaudio -k
$ pulseaudio -D
$ pulseaudio --start
答案1
您缺少pipewire-audio-client-libraries
将添加module-tunnel-sink
module-zeroconf-discover
和的软件包bluetooth
。这些现在由 0.3.28 开始处理pipewire
。apt install
它将像以前一样工作。
从 Debian 11 开始,您需要了解pipewire
.大多数配置现在位于/usr/share/pipewire
.