From f09ba10daae4c44fc9404aa2cc48076f6edec9a4 Mon Sep 17 00:00:00 2001 From: Sam Belliveau Date: Sun, 2 Mar 2025 20:19:20 -0500 Subject: AudioCommon: Added Granular Synthesis --- Source/Core/AudioCommon/OpenALStream.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/AudioCommon/OpenALStream.cpp') diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp index cdd44501ca..31ae9b047e 100644 --- a/Source/Core/AudioCommon/OpenALStream.cpp +++ b/Source/Core/AudioCommon/OpenALStream.cpp @@ -293,7 +293,7 @@ void OpenALStream::SoundLoop() if (use_surround) { std::array dpl2; - u32 rendered_frames = m_mixer->MixSurround(dpl2.data(), min_frames); + u32 rendered_frames = static_cast(m_mixer->MixSurround(dpl2.data(), min_frames)); if (rendered_frames < min_frames) continue; @@ -351,7 +351,7 @@ void OpenALStream::SoundLoop() } else { - u32 rendered_frames = m_mixer->Mix(m_realtime_buffer.data(), min_frames); + u32 rendered_frames = static_cast(m_mixer->Mix(m_realtime_buffer.data(), min_frames)); if (!rendered_frames) continue; -- cgit v1.2.3