Creating mastering voice with the right params.
This commit is contained in:
parent
24e857cc03
commit
6f09c12bc2
|
@ -73,7 +73,7 @@ void XAudio2AudioSystem::Initialize() {
|
||||||
config.LogFileline = TRUE;
|
config.LogFileline = TRUE;
|
||||||
audio_->SetDebugConfiguration(&config);
|
audio_->SetDebugConfiguration(&config);
|
||||||
|
|
||||||
hr = audio_->CreateMasteringVoice(&mastering_voice_);
|
hr = audio_->CreateMasteringVoice(&mastering_voice_, 6, 48000);
|
||||||
if (FAILED(hr)) {
|
if (FAILED(hr)) {
|
||||||
XELOGE("CreateMasteringVoice failed with %.8X", hr);
|
XELOGE("CreateMasteringVoice failed with %.8X", hr);
|
||||||
XEASSERTALWAYS();
|
XEASSERTALWAYS();
|
||||||
|
|
Loading…
Reference in New Issue