aboutsummaryrefslogtreecommitdiffstats
path: root/tests/config.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* audio: open the output at the track's rate instead of pw-alsa's 44100salmonik6 days1-0/+42
| | | | | | | | | | | | 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.
* add licensingsalmonik2026-05-261-0/+7
|
* Add display_format config, fix restart command, clean up config codesalmonik2026-05-111-4/+12
| | | | | | | | | | | - Add display_format option with get/set/list/unset for customizing track display - Add Track::format() supporting $ARTIST, $ALBUM, $TRACK variables - Update queue, status, notifications to use display_format - Fix restart command using wrong subcommand 'start' -> 'start-daemon' - Remove socket_path from config (now computed at runtime from XDG_RUNTIME_DIR) - Consolidate duplicate save() and save_all() into single save() - Fix redundant .clone().clone() in config.rs - Add todo item for caching config in daemon hot paths
* Add unit tests in /tests directory for config, database, playback, and ↵salmonik2026-05-051-0/+133
scrobbler modules