Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Address arbitrary stream delays introduced in webaudio host

Abierto
#409 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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

Línea de trabajo

The issue identifies Device::build_output_stream_raw and Stream::play in the webaudio host as the two places that add delays. Read those paths and trace how they prevent early buffer underruns; the issue does not name specific files or tests. Done means finding an alternative that avoids early underruns without arbitrary delays and confirming the behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

host - webaudio platform - web

Currently there are two places where an arbitrary delay is used to avoid buffer underruns in the webaudio host.

  1. On Device::build_output_stream_raw the first emitted buffer is delayed by 25ms.
  2. On Stream::play a 10ms delay is introduced. @dpeckett just to clarify, this was to avoid a buffer underrun you were running into yes? Or was there another reason for this one?

It would be worth investigating to see if there's an alternative solution to avoiding early underruns.

Lenguaje dominante
Rust
Estrellas
4k
Forks
554
Merge medio
3 d 3 h
PR fusionados (30 d)
4

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de RustAudio/cpal

Todos los issues de RustAudio/cpal

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.