Adding --mute.

This commit is contained in:
Ben Vanik
2015-05-15 23:34:00 -07:00
parent 11ea5c5b10
commit 986534d448
3 changed files with 8 additions and 0 deletions

View File

@@ -116,6 +116,10 @@ void XAudio2AudioDriver::Initialize() {
return;
}
if (FLAGS_mute) {
pcm_voice_->SetVolume(0.0f);
}
SetEvent(wait_handle_);
}