AFAICT neither Easyeffect nor pavucontrol let you set the sample rate/bit depth.
...though it was my impression that, at least for bit depth, PipeWire automatically outputs to the highest bitdepth supported by your hardware because there's no reason not to since, unlike resampling, playing lower-bitdepth audio on higher-bitdepth hardware is 100% lossless.
But even if it's not outputting the highest bitdepth, it's still one of those "configure once and forget" since, as mentioned, there's not really a reason to not use the highest bitdepth supported by your hardware.
Some information regarding bitdepth in PipeWire can be found here:
https://reddit.com/r/archlinux/comme...with_pipewire/
https://gitlab.freedesktop.org/pipew...e/-/issues/457
As stated, setting bitdepth should be completely unnecessary (unless there's a bug of course!) and, for sample rate, there's actually a built-in terminal command specifically for setting the sample rate for the current session (so it'll revert to the default if you log out):
https://gitlab.freedesktop.org/pipew...erate-settings
e.g. for 44.1kHz:
e.g. for 48kHz:
e.g. for 192kHz:
etc etc.
I personally find that the easiest "GUI-like way" is to straight up create individual desktop launchers and/or .sh script files or the like for each of your desired sample rates that you can just run and have it set the sample rate accordingly.
Also if you have lots of CPU cores and/or performance overhead, you might additionally be interesting in cranking up the resampling quality; just like bitdepth, this can be one of those "set once and forget":
https://gitlab.freedesktop.org/pipew...sample-quality
...though it was my impression that, at least for bit depth, PipeWire automatically outputs to the highest bitdepth supported by your hardware because there's no reason not to since, unlike resampling, playing lower-bitdepth audio on higher-bitdepth hardware is 100% lossless.
But even if it's not outputting the highest bitdepth, it's still one of those "configure once and forget" since, as mentioned, there's not really a reason to not use the highest bitdepth supported by your hardware.
Some information regarding bitdepth in PipeWire can be found here:
https://reddit.com/r/archlinux/comme...with_pipewire/
https://gitlab.freedesktop.org/pipew...e/-/issues/457
Originally posted by middy
View Post
https://gitlab.freedesktop.org/pipew...erate-settings
e.g. for 44.1kHz:
Code:
pw-metadata -n settings 0 clock.force-rate 44100
Code:
pw-metadata -n settings 0 clock.force-rate 48000
Code:
pw-metadata -n settings 0 clock.force-rate 192000
I personally find that the easiest "GUI-like way" is to straight up create individual desktop launchers and/or .sh script files or the like for each of your desired sample rates that you can just run and have it set the sample rate accordingly.
Also if you have lots of CPU cores and/or performance overhead, you might additionally be interesting in cranking up the resampling quality; just like bitdepth, this can be one of those "set once and forget":
https://gitlab.freedesktop.org/pipew...sample-quality
Comment