Audio Crackling and Default Config unchangable on Windows(Main Branch)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- audio-video-rtc, rust
- Área
- audio-video-rtc
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 2.5k
- Forks
- 338
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de RustAudio/rodio
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 73/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 62/100
-
WavDecoder::size_hint underflows (u32 wrap, ~4.29e9) after EOF, causes multi-GB Vec::collect() allocationPosiblemente ocupada @marin-m la tomó hace 4 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Todos los issues de RustAudio/rodio
Issues similares
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mozilla-services/syncstorage-rs#2715 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
-
documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
physicsdolphin/nv-uefi-unlocker#53 · 4 reacciones ·
Los mantenedores suelen responder en 1 día