From d30f4b25b940b09e1bb0a7170553a60bc9215b88 Mon Sep 17 00:00:00 2001 From: gibbed Date: Mon, 13 Jan 2014 00:25:10 -0800 Subject: [PATCH] Oops. --- src/xenia/apu/xaudio2/xaudio2_audio_system.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xenia/apu/xaudio2/xaudio2_audio_system.cc b/src/xenia/apu/xaudio2/xaudio2_audio_system.cc index 7a21cf814..be1381d4f 100644 --- a/src/xenia/apu/xaudio2/xaudio2_audio_system.cc +++ b/src/xenia/apu/xaudio2/xaudio2_audio_system.cc @@ -93,7 +93,6 @@ void XAudio2AudioSystem::Initialize() { SPEAKER_FRONT_LEFT | SPEAKER_FRONT_CENTER | SPEAKER_FRONT_RIGHT | SPEAKER_LOW_FREQUENCY | SPEAKER_BACK_LEFT | SPEAKER_BACK_RIGHT; - hr = audio_->CreateSourceVoice(&pcm_voice_, (WAVEFORMATEX*)&waveformat); hr = audio_->CreateSourceVoice( &pcm_voice_, &waveformat, 0, XAUDIO2_DEFAULT_FREQ_RATIO, voice_callback_);