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();
}