mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
AudioCommon: Added Granular Synthesis
This commit is contained in:
parent
e82f03b825
commit
f09ba10daa
51 changed files with 387 additions and 7928 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue