From 6f09c12bc280b70e852867ba182dde6fef652f54 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Mon, 13 Jan 2014 01:06:30 -0800 Subject: [PATCH] Creating mastering voice with the right params. --- src/xenia/apu/xaudio2/xaudio2_audio_system.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/apu/xaudio2/xaudio2_audio_system.cc b/src/xenia/apu/xaudio2/xaudio2_audio_system.cc index 77050322c..bf67ea359 100644 --- a/src/xenia/apu/xaudio2/xaudio2_audio_system.cc +++ b/src/xenia/apu/xaudio2/xaudio2_audio_system.cc @@ -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();