Ability to choose/override the sample rate of a sink
Submitted by Jérôme Carretero
Assigned to pul..@..op.org
While performing tests on a USB audio DAC, I wanted to select a specific sample rate, but noticed that the only way to do so was by disabling anything that might get plugged on the sink (eg. running pavucontrol creates peak-detect elements, and I've seen it affect the sample rate selection) and playing sounds having that particular sample rate.
Having the ability to force a sink sample rate (and sample type) would be quite practical in this particular (niche I admit) use case, I don't know if there are other relevant ones (testing of resamplers? defective sample rate on a device?).