| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
`rsp seek 1:30`, `rsp seek +15`, `rsp seek -30` and `rsp seek` (print the
position) drive a new AudioCommand that seeks the format reader, resets the
decoder and drops the buffered samples, so the cpal stream keeps running and
playback continues from the new spot.
MPRIS gets a working Seek/SetPosition, reports CanSeek, and the state watcher
now emits Seeked when the playhead jumps (not just on track changes), which is
what clients need to move their progress bar after an external seek.
`rsp status` also reports the position (and duration when known) and says
Paused instead of Stopped when a track is loaded but not playing.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- read http(s) urls through a MediaSourceStream instead of failing
- register the libopus decoder and enable mkv/aac/isomp4 in symphonia
- resample to the device rate with linear interpolation
- rebuild the output stream when the backend dies instead of leaving
playback silent while the daemon still reports "Playing"
A dead pcm makes cpal call the error callback hundreds of thousands of
times per second, so errors are only counted there and reported once when
the stream is dropped. The first failure of a healthy stream is retried
immediately, consecutive failures back off, and a stream that played long
enough clears the failure budget.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
output instead. Increase pre-buffer to 100 packets.
|
| | |
|
| |
|
|
|
| |
Uses notify-rust to send D-Bus desktop notifications from the daemon
when tracks change, the queue empties, or audio errors occur.
|
| |
|
|
|
|
|
|
|
| |
- Add install.sh script that builds release, stops daemon, and installs binary
- Add shell completions for bash, zsh, and fish
- Add systemd user service unit file
- Add public binary declaration in Cargo.toml
- Add install command to CLI
- Make current_track field public for MPRIS integration (placeholder)
|
| |
|
|
| |
scrobbler modules
|
| | |
|
| |
|
|
|
|
|
|
| |
The audio callback deadlocked when trying to lock audio_data twice,
preventing track_ended from being set and breaking auto-advance.
Also removed erroneous track_ended.store(true) calls from error paths
that were causing incorrect queue advancement when playback failed.
|
|
|
fails
|