Audio Crackling and Default Config unchangable on Windows(Main Branch)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- audio-video-rtc, rust
- Ambito
- audio-video-rtc
Direzione di ricerca
The report points at the Windows output path reached through SpeakersBuilder, default_device and default_config, and at try_buffer_duration and try_sample_rate in the main branch. Start by reproducing the crackling with the git revision a359d2a versus the crates.io release, then compare how the two handle buffer size and sample rate on Windows. Done means the default config plays cleanly on Windows again and the 1 ms buffer and 44100 Hz settings no longer panic with an unsupported device error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Using the Crates.io Version of Rodio the audio plays perfectly fine on Windows with
SpeakersBuilder::new()
.default_device()
.unwrap()
.default_config()
.unwrap();
however when using the Git repo version the audio is just pure crackling and popping noises.
https://github.com/user-attachments/assets/8506f55f-4de5-4bbd-96cb-cb0d4530cf5c
the above example is using git = "https://github.com/RustAudio/rodio", rev = "a359d2a"
the is the working Example using the Crates.io Version
https://github.com/user-attachments/assets/6f38ae6c-753f-43c8-a531-8359b308f642
Also I noticed in the Crates Version I can do
.try_buffer_duration(Duration::from_millis(1))
.unwrap()
.try_sample_rate(SampleRate::new(44100).expect("should never fail..."))
.unwrap()
but if i try this in the main branch it panics saying unsupported device even though it worked before....
Please let me know if you have any questions.
- Lingua principale
- Rust
- Stelle
- 2.5k
- Fork
- 338
- Merge medio
- 1g 3h
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 RustAudio/rodio
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 73/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
-
WavDecoder::size_hint underflows (u32 wrap, ~4.29e9) after EOF, causes multi-GB Vec::collect() allocationForse già presa @marin-m l’ha presa 5 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Tutte le issue di RustAudio/rodio
Issue simili
-
ai_p2 bug comp-datalake
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
ClickHouse/ClickHouse#128306 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
bug triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
area:cli bug priority:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
rtk-ai/rtk#4862 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno