Also set sample rate itself

This commit is contained in:
hodasemi 2023-03-16 07:00:42 +01:00
parent 58691da7f9
commit cd70b78487

View file

@ -85,6 +85,7 @@ function init(meta) {
function setSampleRate(sampleRate) {
spawnCommandLine("pw-metadata -n settings 0 clock.force-rate " + sampleRate);
spawnCommandLine("pw-metadata -n settings 0 clock.rate " + sampleRate);
}
function getForcedSampleRate() {