You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the following code from the terminal on macOS (using cargo run)
use cpal::traits::HostTraitas _;fnmain(){let _ = cpal::default_host().default_output_device();}
I get a microphone permission prompt from macOS:
If you want to reproduce this and the permission prompt does not appear you may have already granted or denied permissions to your terminal. You can easily reset them using tccutil. For example tccutil reset Microphone com.apple.Terminal for macOS' builtin terminal.
The text was updated successfully, but these errors were encountered:
bash
changed the title
macOS asks for permission to use the microphone when
macOS asks for permission to use the microphone when accessing the default output device
Jul 19, 2024
Note that this is currently resulting in most (all?) Bevy games on macOS asking for microphone permissions 😅
Are there some settings we can pass to cpal to work around this?
When I run the following code from the terminal on macOS (using
cargo run
)I get a microphone permission prompt from macOS:
If you want to reproduce this and the permission prompt does not appear you may have already granted or denied permissions to your terminal. You can easily reset them using
tccutil
. For exampletccutil reset Microphone com.apple.Terminal
for macOS' builtin terminal.This issue was originally reported to Bevy: bevyengine/bevy#13989
I tested this on macOS Ventura (13.6.7).
The text was updated successfully, but these errors were encountered: