Game asking to enable microphone?

Godot Version

Godot v.4.4

Question

Hello! My game asking the user to enable microphone input when it launches. I never ask for microphone input in the game, I do use audio buses but only to play .wav files. Audio/driver/enable input is false. How can I stop this from happening?

That is very odd. Have you checked your project settings?

Project → Project Settings → Audio → Driver → Enable Audio Input

You may have checked it to on by mistake as I believe it is off by default.

If this is not the cause, what platform is asking for microphone input permission? Is it android, web, windows?

1 Like

Is it hacked…? I dont know… but, that doesnt sound normal to me

1 Like

It’s a mac, that setting is off…

2 Likes

That’s a scary thought. But I routinely scan everything on my system for malware and nothing’s come up.

1 Like

I just noticed in your question this:

Audio/driver/enable input is false.

Sorry I suggested something you had already said was off :frowning:

All I can say is here it was late. Sorry again. Hope you get it fixed soon.

PS Perhaps this is of some help although it is old and to me it is all out of my depth TBH.

I asked the developer support, and they confirmed that the permission dialog is always shown when calling AudioDeviceCreateIOProcID for devices that have inputs when the app has audio input entitlement. If the app does not need audio capture, the dialog can be avoided by setting com.apple.security.device.audio-input to false in entitlements file.

https://developer.apple.com/forums/thread/743077

PS I was just googling about out of interest - it may mean nothing, again sorry to not be able to help further.

PPS I also asked Perplexity and it said the same:
Disable Microphone Entitlement in macOS:

If you are exporting your game for macOS, add the following entitlement to your app’s entitlements file:

xml

<key>com.apple.security.device.audio-input</key>
> <false/>

This explicitly disables microphone access and prevents the permission dialog from appearing

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.