Creating mastering voice with the right params.

This commit is contained in:
Ben Vanik 2014-01-13 01:06:30 -08:00
parent 24e857cc03
commit 6f09c12bc2
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ void XAudio2AudioSystem::Initialize() {
config.LogFileline = TRUE;
audio_->SetDebugConfiguration(&config);
hr = audio_->CreateMasteringVoice(&mastering_voice_);
hr = audio_->CreateMasteringVoice(&mastering_voice_, 6, 48000);
if (FAILED(hr)) {
XELOGE("CreateMasteringVoice failed with %.8X", hr);
XEASSERTALWAYS();