You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Style: Cleanup single-line blocks, semicolons, dead code
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
This commit is contained in:
@@ -56,8 +56,9 @@ void AudioDriverOpenSL::_buffer_callback(
|
||||
}
|
||||
}
|
||||
|
||||
if (mix)
|
||||
if (mix) {
|
||||
mutex.unlock();
|
||||
}
|
||||
|
||||
const int32_t *src_buff = mixdown_buffer;
|
||||
|
||||
@@ -312,13 +313,15 @@ AudioDriver::SpeakerMode AudioDriverOpenSL::get_speaker_mode() const {
|
||||
}
|
||||
|
||||
void AudioDriverOpenSL::lock() {
|
||||
if (active)
|
||||
if (active) {
|
||||
mutex.lock();
|
||||
}
|
||||
}
|
||||
|
||||
void AudioDriverOpenSL::unlock() {
|
||||
if (active)
|
||||
if (active) {
|
||||
mutex.unlock();
|
||||
}
|
||||
}
|
||||
|
||||
void AudioDriverOpenSL::finish() {
|
||||
|
||||
Reference in New Issue
Block a user