diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-02 13:28:23 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-02 13:28:23 +0100 |
| commit | 6e62ee4057b8ea3144f2f4df85e5d56c37c8fd72 (patch) | |
| tree | 5cc559e2eaad47f632294914a9d57133e863b1b8 /.zed | |
| parent | config: parse the config once and reuse it until the file changes (diff) | |
| download | rsplayer-6e62ee4057b8ea3144f2f4df85e5d56c37c8fd72.tar.gz rsplayer-6e62ee4057b8ea3144f2f4df85e5d56c37c8fd72.zip | |
audio: open the output at the track's rate instead of pw-alsa's 44100
cpal asks the ALSA "default" PCM for its default config and pipewire-alsa
answers 44.1 kHz no matter what the graph runs at, so 48 kHz material was
resampled down to 44.1 in our linear resampler and then back up to 48 by
PipeWire. The stream now opens at the track's own rate (when the device
supports it), which keeps our resampler out of the path and leaves the
conversion to PipeWire's polyphase one.
The new `sample_rate` setting forces a fixed rate instead ("auto" by
default), for anyone who would rather match the graph exactly.
Diffstat (limited to '.zed')
0 files changed, 0 insertions, 0 deletions
