1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Merge pull request #24324 from volzhs/access-mic

Request mic access only when is needed
This commit is contained in:
Rémi Verschelde
2018-12-14 08:57:22 +01:00
committed by GitHub
4 changed files with 15 additions and 1 deletions

View File

@@ -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