Expose hardware latency

Aperta
#1,436 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Read the stream API and the StreamInstant/StreamTimestamp definitions mentioned in the issue, then inspect how backend hosts expose hardware information. Compare the JACK and WASAPI loopback/process-capture scenarios, since latency may be unavailable or inapplicable for those streams. The change is done when hardware latency is exposed at the stream level, with appropriate handling for sample-rate dependence and unsupported streams.

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

Descrizione

API design

Low level hosts can retrieve this information from the hardware driver, but I suspect that some higher level hosts may not have access to this information. Further more, this property may be inapplicable in certain scenarios. E.g. a JACK graph may not involve any audio hardware, and a WASAPI loopback or process capture stream definitely doesn't.

Since hardware latency depends on sample rate, this should be exposed at the stream level, not device level.

Note that this has nothing to do with the delta between the two StreamInstants in StreamTimestamp, as that delta represents everything that happens before/after the hardware.

Lingua principale
Rust
Stelle
4k
Fork
554
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/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.