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

after sink is emptied get_pos still returns non zero value

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

Start by reading the Sink implementation and the code behind get_pos; the issue does not name a file or test. Reproduce the behavior after the queue is emptied, then determine whether the position should reset in that case. Done means get_pos returns the expected position after the sink has no queued audio, with a regression test covering it.

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

Descrizione

I don't know if this behavior is intended, but because of that i can't keep an actual pos value for my own use, because when Sink is emptied get_pos still yields non zero value. I think that Sink should reset its pos if there is nothing in the queue.

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.