diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-14 01:48:36 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-14 01:50:01 +0200 |
commit | 9969a5db1eeed44f362c61dd2e276c58755276ed (patch) | |
tree | 51f9c7e1ccd07d97071c26f0a7c506d985f59555 /src/audio_core | |
parent | Merge pull request #1308 from valentinvanelslande/ipc (diff) | |
download | yuzu-9969a5db1eeed44f362c61dd2e276c58755276ed.tar yuzu-9969a5db1eeed44f362c61dd2e276c58755276ed.tar.gz yuzu-9969a5db1eeed44f362c61dd2e276c58755276ed.tar.bz2 yuzu-9969a5db1eeed44f362c61dd2e276c58755276ed.tar.lz yuzu-9969a5db1eeed44f362c61dd2e276c58755276ed.tar.xz yuzu-9969a5db1eeed44f362c61dd2e276c58755276ed.tar.zst yuzu-9969a5db1eeed44f362c61dd2e276c58755276ed.zip |
Diffstat (limited to 'src/audio_core')
-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 da094c46b..35709e2c4 100644 --- a/src/audio_core/time_stretch.cpp +++ b/src/audio_core/time_stretch.cpp @@ -61,8 +61,8 @@ size_t TimeStretcher::Process(const s16* in, size_t num_in, s16* out, size_t num 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 |