RustAudio / cpal

Cross-platform audio I/O library in pure Rust
Apache License 2.0
2.7k stars 357 forks source link

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

Open sainteckes opened 2 years ago

sainteckes commented 2 years ago

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:

Not Working:

sainteckes commented 1 year ago

I was looking back into it as we wanted to use CPAL for an audio engine, but unfortunately it is still the case, that when starting my application only virtual devices are always shown (BlackHole etc) but System Devices like External Headphones or Speakers get only shown when they were previously selected as the output device in macos.