Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Address arbitrary stream delays introduced in webaudio host

Aperta
#409 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
4k
Fork
554
Merge medio
3g 3h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RustAudio/cpal

Tutte le issue di RustAudio/cpal

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.