Hat sich irgendwas bei pipewire geändert ?
Habe heute mal wieder über die Boxen Musik gehört.
Dabei sind mir Aussetzer aufgefallen.
Das sieht irgendwie komisch und anders aus, soweit ich das in Erinnerung habe,
F32LE ??
Normal hatte ich es so: So wie aufgenommen geht es an die Boxen. Aber wie es scheint wird da was gewandelt.
Dafür habe ich
10_sample_rate.conf
context.properties = {
default.clock.allowed-rates = [ 48000 44100 88200 96000 192000 ]
}
#api.alsa.period-size = 256
#api.alsa.headroom = 1024
#PIPEWIRE_LATENCY=2048/48000
default.clock.min-quantum = 1024
Olli
October 30, 2022, 4:56pm
2
würde mich nicht wundern, bluetooth ist ja schon länger nur noch ein ärgerliches thema. bis jetzt haben die devs sich da nun wahrlich nicht mit ruhm bekleckert.
Habe jetzt etwas experimentiert
mpd von alsa auf pipewire output umgestellt
decoder nur noch ffmpeg
Jetzt zwei Screenshots wenn die Boxen über Bluetooth verbunden sind
Und nun ein Screenshot wenn ich direkt am PC höre
Wie ihr seht direkt am PC steht alles auf 192000
Wenn die Boxen verbunden sind rechnet der das Format um ? Sehe ich das richtig ?
Wie kann man das lösen ?
hier der output von
pactl list sinks
State: RUNNING
Name: bluez_output.84_17_15_11_3E_27.a2dp-sink
Description: KEF LSX
Driver: PipeWire
Sample Specification: s24le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB
balance 0,00
Base Volume: 65536 / 100% / 0,00 dB
Monitor Source: bluez_output.84_17_15_11_3E_27.a2dp-sink.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
api.bluez5.address = "84:17:15:11:3E:27"
api.bluez5.codec = "aptx"
api.bluez5.profile = "a2dp-sink"
api.bluez5.transport = ""
card.profile.device = "1"
device.id = "58"
device.routes = "1"
factory.name = "api.bluez5.a2dp.sink"
device.description = "KEF LSX"
node.name = "bluez_output.84_17_15_11_3E_27.a2dp-sink"
node.pause-on-idle = "false"
priority.driver = "1010"
priority.session = "1010"
factory.id = "8"
clock.quantum-limit = "8192"
device.api = "bluez5"
media.class = "Audio/Sink"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "51"
object.serial = "365"
client.id = "33"
api.bluez5.class = "0x200428"
api.bluez5.connection = "disconnected"
api.bluez5.device = ""
api.bluez5.icon = "audio-card"
api.bluez5.path = "/org/bluez/hci0/dev_84_17_15_11_3E_27"
bluez5.auto-connect = "[ hfp_hf hsp_hs a2dp_sink ]"
bluez5.profile = "off"
device.alias = "KEF LSX"
device.bus = "bluetooth"
device.form_factor = "hifi"
device.icon_name = "audio-card-bluetooth"
device.name = "bluez_card.84_17_15_11_3E_27"
device.product.id = "0xffff"
device.string = "84:17:15:11:3E:27"
device.vendor.id = "bluetooth:000a"
Ports:
hifi-output: HiFi (type: HiFi, priority: 0, available)
Active Port: hifi-output
Formats:
pcm
Wie ihr seht Sample Specification: s24le 2ch 48000Hz
Wo kann man das ändern ?
Ich glaube ich habe die Antwort gefunden
Developer
Bluetooth works at the samplerate fixed by bluez5.default.rate (default value 48000), there’s no support for samplerate switching based on input.