1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Compilation fixes on Android

This commit is contained in:
PouleyKetchoupp
2020-02-29 19:40:24 +01:00
parent 8ffa35e44f
commit ed0655cdfb
5 changed files with 38 additions and 31 deletions

View File

@@ -328,13 +328,13 @@ AudioDriver::SpeakerMode AudioDriverOpenSL::get_speaker_mode() const {
void AudioDriverOpenSL::lock() {
if (active && mutex)
if (active)
mutex.lock();
}
void AudioDriverOpenSL::unlock() {
if (active && mutex)
if (active)
mutex.unlock();
}