You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Request mic access only when is needed
This commit is contained in:
@@ -172,6 +172,7 @@ int AudioDriverManager::get_driver_count() {
|
||||
}
|
||||
|
||||
void AudioDriverManager::initialize(int p_driver) {
|
||||
GLOBAL_DEF_RST("audio/enable_audio_input", false);
|
||||
int failed_driver = -1;
|
||||
|
||||
// Check if there is a selected driver
|
||||
|
||||
Reference in New Issue
Block a user