output stream dies with small buffer size
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- rust
- Área
- audio-video-rtc
Línea de trabajo
The issue links a reproducer under languages/rust/cpal; start by reading that example and run it with cargo run on Ubuntu 18.04, then switch tabs or trigger another resource-intensive action. Investigate why the output stream stops being called with a small buffer after that activity; done means the stream continues or reports an error instead of falling silent.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hey,
Thanks for the ability to specify buffer size! Took me a while to think to just instantiate my own StreamConfig.
Anyway, I've been keeping an eye on cpal because I want to move off the portaudio crate, which has similar performance to what I'm reporting here.
In particular, I find that the output stream stops getting called with no error when I'm using a small buffer size, and I do something "resource-intensive" like alt-tab to another program. This is distinct from an underrun, which also happens sometimes. However, to my knowledge, underruns should cause a click, not eternal silence. But I think this problem is the next domino falling after an underrun.
My system is running Ubuntu 18.04.
Code here, just cargo run and switch tabs in your browser or other "resource-intensive" actions.
Curious if others have experience attempting low-latency with cpal, or what else I could offer to clarify what's going on.
Best,
Dan
- Lenguaje dominante
- Rust
- Estrellas
- 4k
- Forks
- 554
- Merge medio
- 3 d 3 h
- PR fusionados (30 d)
- 4
Preparar el entorno
- Incluye un Dockerfile o un 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/cpal
-
aaudio: dynamic buffer tuning never grows the buffer (set_buffer_size_in_frames reports Err on success)Posiblemente ocupada @dannyward630 la tomó hace 3 días. Abiertohost - aaudio platform - android
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
WebAudio wasm build fails with wasm-bindgen panic=unwind closuresPosiblemente ocupada @bogusyogi la tomó hace 12 días. Abiertohost - webaudio platform - web
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
RustAudio/cpal#1394 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
New WASAPI implementationAbiertocode quality dependencies host - wasapi platform - windows
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
RustAudio/cpal#1416 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
host - pipewire platform - linux
Dificultad 4/5 1-2 días Aptitud para principiantes 52/100
RustAudio/cpal#1405 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
WASAPI: default-device activation fails with RPC_E_CHANGED_MODE after endpoint-notification callbacks put thread-pool threads into an STAPosiblemente ocupada @dannyward630 la tomó hace 4 días. Abiertocorrectness host - wasapi platform - windows
Dificultad 4/5 3-5 días Aptitud para principiantes 20/100
RustAudio/cpal#1402 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de RustAudio/cpal
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
BurntSushi/jiff#668 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
router-for-me/EasyCLIProxyAPI#534 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
astral-sh/astral-codec#244 ·
Los mantenedores suelen responder en 1 día
-
ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug dependencies kind:fix priority: P3 ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
shep-pm/shep#1318 · 1 comentario ·
Los mantenedores suelen responder en 1 día