Fixing xaudio2 memory type.

This commit is contained in:
Ben Vanik 2015-03-29 11:26:16 -07:00
parent ec84a688e9
commit 45b2d2ceea
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ void XAudio2AudioDriver::SubmitFrame(uint32_t frame_ptr) {
// Process samples! They are big-endian floats.
HRESULT hr;
auto input_frame = memory_->TranslatePhysical<float*>(frame_ptr);
auto input_frame = memory_->TranslateVirtual<float*>(frame_ptr);
auto output_frame = reinterpret_cast<float*>(frame_);
auto interleave_channels = frame_channels_;