aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-02 13:28:23 +0100
committersalmonik <salmonik@tuta.io>2026-11-02 13:28:23 +0100
commit6e62ee4057b8ea3144f2f4df85e5d56c37c8fd72 (patch)
tree5cc559e2eaad47f632294914a9d57133e863b1b8 /README.md
parentconfig: parse the config once and reuse it until the file changes (diff)
downloadrsplayer-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 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index c2cf39a..678d085 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,7 @@ configuration is generated at startup in $XDG_CONFIG_HOME/rsplayer/config.toml
42- display_format (supports $ARTIST $ALBUM and $TRACK) 42- display_format (supports $ARTIST $ALBUM and $TRACK)
43- music_paths (for DB usage) 43- music_paths (for DB usage)
44- scan_interval (same as above) 44- scan_interval (same as above)
45- sample_rate ("auto" follows each track's own rate, or e.g. 48000 to force one)
45 46
46all other values can be changed in runtime using commands 47all other values can be changed in runtime using commands
47 48