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

try_seek is impossible to use with non-constant speed

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

Start by tracing the try_seek implementation and how playback speed changes are stored; the issue does not name files or tests. The reported problem is that seeking uses the current speed for the whole elapsed interval. Done means seeking accounts for prior speed changes, or the behavior is simplified as the issue suggests; the API impact needs a design decision.

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

Descrizione

bug

It takes the current speed into account but not what it has been the past t seconds. So if my speed was 0.5 and now its 2 try_seek will assume it has always been 2.

Correcting for this requires speed to keep track of all the speed changes.

possible fix:
Make speed's try_seek behavior configurable. Or for now disable all the fancy stuff.

This breaks the current API but I would say the current API is so broken its okay.

Lingua principale
Rust
Stelle
2.5k
Fork
338
Merge medio
1g 3h
PR unite (30g)
1

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/rodio

Tutte le issue di RustAudio/rodio

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.