i enabled the Pipewire pro audio profile with the following command:
pw-cli s 49 Profile '{ index: 14, save: true }'
problem is, now, when i go back to a standard profile, adaptive resampling doesn’t kick in; what i read led me to think adaptive sampling would only be disabled when the pro profile was in use
say i play something at 44.1Khz, and with that playing i play another track with a higher sample, Pipewire now down-samples everything to 44.1Khz, instead of up-sampling to the higher rate, which is how it was behaving prior to enabling the pro profile
Try to check under ~/.config to see if PipeWire has saved your changes (there should be a folder named pipewire, I guess); if so, backup it for safety, delete it and reboot.
If exists, such folder contains user personal settings of PipeWIre.
PipeWire enables by default 1 samplerate (48000 Hz). Everything will be resampled to this rate with a high quality resampler. This is enough to give a good default experience.
It might be interesting to enable more samplerates to avoid resampling when playing media that is not sampled at 48000Hz.
To do this, make a new file in ~/.config/pipewire/pipewire.conf.d/10-rates.conf with the following contents:
# Adds more common rates
context.properties = {
default.clock.allowed-rates = [ 44100 48000 88200 96000 ]
}