diff options
| author | JMC47 <JMC4789@gmail.com> | 2025-03-14 03:57:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-14 03:57:09 -0400 |
| commit | 4d3f247cc37cec8ab7bf42e2a158f045f8559bb6 (patch) | |
| tree | 7395da269bfc52f61e412c62c6009f30a5d414dd /Source/Core/AudioCommon/OpenALStream.cpp | |
| parent | e82f03b825ed4ec35539d93512877cdd2a02294b (diff) | |
| parent | f09ba10daae4c44fc9404aa2cc48076f6edec9a4 (diff) | |
Merge pull request #13352 from Sam-Belliveau/granular_synthesis
AudioCommon: Granule Synthesis Audio System
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/OpenALStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<float, OAL_MAX_FRAMES * SURROUND_CHANNELS> dpl2; - u32 rendered_frames = m_mixer->MixSurround(dpl2.data(), min_frames); + u32 rendered_frames = static_cast<u32>(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<u32>(m_mixer->Mix(m_realtime_buffer.data(), min_frames)); if (!rendered_frames) continue; |
