Fixing xaudio2 memory type.
This commit is contained in:
parent
ec84a688e9
commit
45b2d2ceea
|
@ -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_;
|
||||
|
||||
|
|
Loading…
Reference in New Issue