Creative ZXR; disable pro audio profile; restore adaptive sampling

hey

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

anyone know how to revert this?

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.

There’s nothing in that dir re. Pipewire

I’ve looks in some of the other conf’s and their locations, but nothing stands :man_shrugging:

I’ve logged this over on the Pipewire forums

PipeWire Wiki - Multiple Rates

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 ]
}

You can add more common rates to the list.

Find more detailed information here.

hello Nik

i’ve been reading up re. Pipewire - i’m no audiophile, but i do like Pipewire:

    ## Properties for the DSP configuration.
    default.clock.rate           = 48000
    default.clock.allowed-rates  = [ 44100 48000 88200 96000 192000 ]
    #default.clock.quantum       = 1024
    #default.clock.min-quantum   = 32
    #default.clock.max-quantum   = 2048
    #default.clock.quantum-limit = 8192
    #default.clock.quantum-floor = 4
    #default.video.width         = 640
    #default.video.height        = 480
    #default.video.rate.num      = 25
    #default.video.rate.denom    = 1
    #
    #settings.check-quantum      = false
    #settings.check-rate         = false

god knows what i’ve broken enabling the pro audio profile…?

all i know is Pipewire’s adaptive resampling isn’t doing it’s thing


tried restoring the default client.conf and pipewire.conf from /usr/share/pipewire/ and it’s still not upsampling