Fixing xaudio2 memory type.
This commit is contained in:
@@ -122,7 +122,7 @@ void XAudio2AudioDriver::SubmitFrame(uint32_t frame_ptr) {
|
|||||||
// Process samples! They are big-endian floats.
|
// Process samples! They are big-endian floats.
|
||||||
HRESULT hr;
|
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 output_frame = reinterpret_cast<float*>(frame_);
|
||||||
auto interleave_channels = frame_channels_;
|
auto interleave_channels = frame_channels_;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user