Bit-perfect output for lossless sources
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- audio-video-rtc, cli
Direzione di ricerca
Start by reading src/infra/audio/player.rs and investigating cpal/rodio output capabilities for WASAPI exclusive mode, ALSA direct devices, and macOS device switching. Then assess how lossless sources expose sample rate and bit depth and how the playbar reports playback status. Done means an opt-in path supports the requested platform behaviors and reports when output is not bit-perfect; this issue leaves the design open.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
On Reddit, someone asked for bit-perfect output. Qobuz, local FLAC files and Subsonic (when the server sends FLAC) are lossless at the source, but the output is not bit-perfect today:
- Every decoded source plays through one rodio sink (
LocalPlayerinsrc/infra/audio/player.rs), and the volume is applied in software. - In the OS shared mixer, the audio can be resampled to the device's rate (Windows shared mode does this) and mixed with other apps.
Describe the solution you'd like
An opt-in bit-perfect mode for the lossless sources:
- Open the output at the track's own sample rate and bit depth, with no resampling.
- No software volume (fixed at 100%), and the EQ from #782 off.
- Exclusive access where the platform has it: WASAPI exclusive mode on Windows, a direct
hw:device on ALSA, and the device sample rate switch (or hog mode) on macOS. - A small indicator in the playbar when the path is really bit-perfect, and the reason when it is not (for example: the device does not support 24-bit / 192 kHz).
Scope: the decoded lossless sources only. Spotify through librespot is lossy (Ogg Vorbis up to 320 kbit/s), so bit-perfect does not apply there.
Describe alternatives you've considered
Setting the OS output to the track's sample rate by hand gets close on some systems, but it is easy to get wrong and changes with every track.
Additional context
As far as I know, cpal (under rodio) has no WASAPI exclusive mode, so this probably needs its own output path next to the rodio sink. That needs a look before any design.
- Lingua principale
- Rust
- Stelle
- 1.4k
- Fork
- 238
- Merge medio
- 9h 52m
- PR unite (30g)
- 177
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LargeModGames/spotatui
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
LargeModGames/spotatui#872 · 18 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Text Emphasis off still bolds the selected row in every list and tableForse già presa @jaopdc11 l’ha presa 14 giorni fa. Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
LargeModGames/spotatui#822 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
TUI: a now playing panel beside the main content, opened with Enter on the playbarForse già presa @JosephAnderson234 l’ha presa 1 giorno fa. Apertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
LargeModGames/spotatui#972 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Audio cache limitForse già presa @niukanen1 l’ha presa 3 giorni fa. Apertaenhancement
Difficoltà 4/5 1-2 giorni Idoneità per principianti 48/100
LargeModGames/spotatui#957 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 54/100
LargeModGames/spotatui#950 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di LargeModGames/spotatui
Issue simili
-
bug cluster redis-compat
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
tangency-labs/solidcore#2839 ·
I maintainer di solito rispondono entro 1 giorno
-
bug priority: low ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
storytold/gridcraft#3446 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
madeofpendletonwool/PinePods#1078 ·
I maintainer di solito rispondono entro 1 giorno