Skip to content

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

@steckes

Description

@steckes

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions