[Lint] Added InsertBraces to linter to unify codebase to one standard
This commit is contained in:
@@ -124,7 +124,9 @@ ProcessAudioResult ProcessAudioLoop(AudioMediaPlayer* player,
|
||||
}
|
||||
|
||||
ret = avcodec_receive_frame(avctx, frame);
|
||||
if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF) break;
|
||||
if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF) {
|
||||
break;
|
||||
}
|
||||
if (ret < 0) {
|
||||
XELOGW("Error during decoding: {:X}", ret);
|
||||
break;
|
||||
|
||||
@@ -273,7 +273,9 @@ void XAudio2AudioDriver::Resume() {
|
||||
}
|
||||
|
||||
void XAudio2AudioDriver::SetVolume(float volume) {
|
||||
if (cvars::mute) return;
|
||||
if (cvars::mute) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (api_minor_version_ >= 8) {
|
||||
objects_.api_2_8.pcm_voice->SetVolume(volume);
|
||||
|
||||
Reference in New Issue
Block a user