diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-17 18:28:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-17 18:28:19 +0200 |
commit | 692e7cee4f333e2ebd58a53cb369fa7fc9457044 (patch) | |
tree | 123975327a77f93adecee88a7d686e384b8ee100 /src | |
parent | Merge pull request #1316 from lioncash/shadow (diff) | |
parent | audio_core/time_stretch: Silence truncation warnings in Process() (diff) | |
download | yuzu-692e7cee4f333e2ebd58a53cb369fa7fc9457044.tar yuzu-692e7cee4f333e2ebd58a53cb369fa7fc9457044.tar.gz yuzu-692e7cee4f333e2ebd58a53cb369fa7fc9457044.tar.bz2 yuzu-692e7cee4f333e2ebd58a53cb369fa7fc9457044.tar.lz yuzu-692e7cee4f333e2ebd58a53cb369fa7fc9457044.tar.xz yuzu-692e7cee4f333e2ebd58a53cb369fa7fc9457044.tar.zst yuzu-692e7cee4f333e2ebd58a53cb369fa7fc9457044.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/audio_core/time_stretch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/time_stretch.cpp b/src/audio_core/time_stretch.cpp index 5da35e74e..fc14151da 100644 --- a/src/audio_core/time_stretch.cpp +++ b/src/audio_core/time_stretch.cpp @@ -62,8 +62,8 @@ std::size_t TimeStretcher::Process(const s16* in, std::size_t num_in, s16* out, LOG_DEBUG(Audio, "{:5}/{:5} ratio:{:0.6f} backlog:{:0.6f}", num_in, num_out, m_stretch_ratio, backlog_fullness); - m_sound_touch.putSamples(in, num_in); - return m_sound_touch.receiveSamples(out, num_out); + m_sound_touch.putSamples(in, static_cast<u32>(num_in)); + return m_sound_touch.receiveSamples(out, static_cast<u32>(num_out)); } } // namespace AudioCore |