
PipeWire Resampler Quality: Test CPU Cost and Audio Quality
First establish whether the path you care about is actually converting sample rates. Change quality only if you can explain what you are comparing and what the result would change.
Establish the conversion path
For example, feed a 44.1 kHz source into a graph already running at 48 kHz. Record the source format, active graph rate and capture format. A player or DAW may convert upstream, so diagnose where the conversion occurred before calling it a PipeWire result. In pw-top, a follower's proposed rate alone is not proof that the node performs conversion.
Check the installed version and the PipeWire client configuration manual for how that client type applies resample.quality. Do not assume a setting for native clients changes PulseAudio compatibility clients, the DAW's offline export or the exact JACK route. Document where you set a value, reconnect the client if necessary, and check that the intended path is still active afterward.
A graph can resample because the stream and device negotiate different rates, or because two clocks drift against one another even when both devices are set to 48 kHz. Matching the source and graph rate helps isolate ordinary rate conversion, but it does not eliminate clock matching between independent devices. Check the negotiated FORMAT against the active driver and verify that your application did not already convert the test file.
Test one stream before making a default
For a native PipeWire playback test, use the installed pw-play --help to confirm that it accepts the quality option. At a low listening level, compare the same known 44.1 kHz file with the graph observed at 48 kHz:
pw-play --quality=4 ./fixture-44100.wav
pw-play --quality=8 ./fixture-44100.wav
These numbers are comparison inputs, not recommendations. Verify that both runs used the same output and that the graph actually stayed at 48 kHz. If it switched to 44.1 kHz before either run, you no longer have the conversion you intended to test. Note the local PipeWire version and use the manual for that release; the existence of a quality number does not prove a particular release introduced it.
For a native client that uses client.conf, a user fragment in ~/.config/pipewire/client.conf.d/ can set a stream default:
stream.properties = {
resample.quality = 8
}
Only save this after a scoped test shows a reason to do so. A client-default fragment can affect other native clients that use that configuration. Close and reopen the relevant client to test the change. To undo it, remove only your fragment and reopen the app. Do not put this example into the device profile or assume it covers all compatibility servers.
Separate the two tests
Audio quality: capture the same input through the same path at both settings. Match level and align timing before comparing. A sweep, a high-frequency tone and a representative musical passage answer different questions; compare spectral artefacts with the sweep and use a level-matched blind comparison for audibility. Keep the unconverted source and raw captures.
Processing cost: hold rate, quantum, channel count and workload fixed. Compare repeated captures of processing time and new driver errors across the same passage. A larger B/Q could mean more time spent, but it can also rise because the denominator got smaller. Keep the graph period unchanged when isolating the resampler change; a host-wide CPU percentage does not isolate one stream.
Use the audio path you care about. Offline conversion time does not tell you whether a live graph will miss a deadline. For capture comparisons, keep a common capture rate and check whether the recording process is also resampling. If both tests are stable and you cannot distinguish the results in a level-matched comparison, leave the session alone rather than choosing the higher number on principle.
There are no substantiated CPU or quality rankings on this page. Keep the default if you have not found a repeatable issue. If a fixed-rate session works better than repeated conversions, that is a workflow finding, not proof that one quality setting is better for every source.
- PipeWire
- Resampling
- Audio Quality
- Benchmarks
- Linux Audio
- 2026