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

[macOS] feedback example only works when audio device is selected in macOS settings

Aperta
#718 1 commento 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
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
backend

Direzione di ricerca

Start with the feedback example and its device selection path, then inspect the macOS audio backend for how it handles the system output device differing from CPAL's selected output. Reproduce using the two commands in the issue on macOS; done when the example no longer panics in the reported configuration.

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

Descrizione

host - coreaudio platform - macos

When you select the same audio device in macOS settings and in CPAL, the feedback example is working.
When you select another audio device in macOS settings then in CPAL, the feedback example is crashing.

Reproduce:
Working:

  • Select "MacBook Air Speakers" in macOS as output.
  • Start Feedback Example: cargo run --release --example feedback -- -i "BlackHole 2ch" -o "MacBook Air Speakers"

Not Working:

  • Select "BlackHole 2ch" in macOS as output.
  • Start Feedback Example: cargo run --release --example feedback -- -i "BlackHole 2ch" -o "MacBook Air Speakers"
  • Crashes with: thread 'main' panicked at 'failed to find output device'
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.