Fix microphone sandbox access request.

Fixes #4783.
This commit is contained in:
John Preston 2018-06-04 18:26:13 +03:00
parent dd81f5d59f
commit a42fb1f7b7
2 changed files with 6 additions and 0 deletions

View File

@ -65,7 +65,11 @@ void Instance::check() {
auto error = ErrorHappened(device); auto error = ErrorHappened(device);
alcCaptureCloseDevice(device); alcCaptureCloseDevice(device);
_available = !error; _available = !error;
} else {
LOG(("Audio Error: Could not open capture device!"));
} }
} else {
LOG(("Audio Error: No capture device found!"));
} }
} }

View File

@ -14,5 +14,7 @@
<true/> <true/>
<key>com.apple.security.network.server</key> <key>com.apple.security.network.server</key>
<true/> <true/>
<key>com.apple.security.device.audio-input</key>
<true/>
</dict> </dict>
</plist> </plist>