feat(audio): add PipeWire force bit-perfect mode
Add experimental toggle to force PipeWire clock.force-quantum alongside clock.force-rate for true bit-perfect playback. Quantum is matched to sample rate (1024 for <=48kHz, 2048 for <=96kHz, etc). Both values reset to 0 on stop and pause-suspend to avoid affecting other apps. Requires DAC Passthrough to be enabled, PipeWire backend only.
This commit is contained in:
1 parent
98ffd3dff2
commit
cbc2ff0b26
13 files changed
+181
-5
No files matched your search
@@ -479,6 +479,7 @@ fn try_init_stream_with_backend(
|
||||
channels,
|
||||
exclusive_mode: audio_settings.exclusive_mode,
|
||||
alsa_plugin: audio_settings.alsa_plugin,
|
||||
pw_force_bitperfect: audio_settings.pw_force_bitperfect,
|
||||
};
|
||||
|
||||
// For ALSA backend with hw: devices, try direct ALSA first (Linux only)
|
||||
|
||||
Reference in new issue
Block a user