diff options
| author | 2019-01-14 00:22:05 -0200 | |
|---|---|---|
| committer | 2019-01-14 00:22:05 -0200 | |
| commit | 215ca770df9b33f0504853e6a909475f01eaaa79 (patch) | |
| tree | 8e5e6c5b3936b98306c58038decca92ffa46d9e7 /src/audio_core/time_stretch.cpp | |
| parent | Merge pull request #1848 from FreddyFunk/QJsonArray (diff) | |
| download | yuzu-215ca770df9b33f0504853e6a909475f01eaaa79.tar.gz yuzu-215ca770df9b33f0504853e6a909475f01eaaa79.tar.xz yuzu-215ca770df9b33f0504853e6a909475f01eaaa79.zip | |
audio_core: remove unnecessary spaces on comments
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 2fe0b3aef..726591fce 100644 --- a/src/audio_core/time_stretch.cpp +++ b/src/audio_core/time_stretch.cpp | |||
| @@ -53,8 +53,8 @@ std::size_t TimeStretcher::Process(const s16* in, std::size_t num_in, s16* out, | |||
| 53 | const double lpf_gain = 1.0 - std::exp(-time_delta / lpf_time_scale); | 53 | const double lpf_gain = 1.0 - std::exp(-time_delta / lpf_time_scale); |
| 54 | m_stretch_ratio += lpf_gain * (current_ratio - m_stretch_ratio); | 54 | m_stretch_ratio += lpf_gain * (current_ratio - m_stretch_ratio); |
| 55 | 55 | ||
| 56 | // Place a lower limit of 5% speed. When a game boots up, there will be | 56 | // Place a lower limit of 5% speed. When a game boots up, there will be |
| 57 | // many silence samples. These do not need to be timestretched. | 57 | // many silence samples. These do not need to be timestretched. |
| 58 | m_stretch_ratio = std::max(m_stretch_ratio, 0.05); | 58 | m_stretch_ratio = std::max(m_stretch_ratio, 0.05); |
| 59 | m_sound_touch.setTempo(m_stretch_ratio); | 59 | m_sound_touch.setTempo(m_stretch_ratio); |
| 60 | 60 | ||