diff options
| author | 2018-09-17 12:28:19 -0400 | |
|---|---|---|
| committer | 2018-09-17 12:28:19 -0400 | |
| commit | 692e7cee4f333e2ebd58a53cb369fa7fc9457044 (patch) | |
| tree | 123975327a77f93adecee88a7d686e384b8ee100 /src/audio_core/time_stretch.cpp | |
| parent | Merge pull request #1316 from lioncash/shadow (diff) | |
| parent | audio_core/time_stretch: Silence truncation warnings in Process() (diff) | |
| download | yuzu-692e7cee4f333e2ebd58a53cb369fa7fc9457044.tar.gz yuzu-692e7cee4f333e2ebd58a53cb369fa7fc9457044.tar.xz yuzu-692e7cee4f333e2ebd58a53cb369fa7fc9457044.zip | |
Merge pull request #1314 from lioncash/cast
audio_core/time_stretch: Silence truncation warnings in Process()
Diffstat (limited to 'src/audio_core/time_stretch.cpp')
| -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, | |||
| 62 | LOG_DEBUG(Audio, "{:5}/{:5} ratio:{:0.6f} backlog:{:0.6f}", num_in, num_out, m_stretch_ratio, | 62 | LOG_DEBUG(Audio, "{:5}/{:5} ratio:{:0.6f} backlog:{:0.6f}", num_in, num_out, m_stretch_ratio, |
| 63 | backlog_fullness); | 63 | backlog_fullness); |
| 64 | 64 | ||
| 65 | m_sound_touch.putSamples(in, num_in); | 65 | m_sound_touch.putSamples(in, static_cast<u32>(num_in)); |
| 66 | return m_sound_touch.receiveSamples(out, num_out); | 66 | return m_sound_touch.receiveSamples(out, static_cast<u32>(num_out)); |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | } // namespace AudioCore | 69 | } // namespace AudioCore |