mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 05:16:24 -05:00
audio_core: remove unnecessary spaces on comments
This commit is contained in:
parent
bc879ae880
commit
215ca770df
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ std::size_t TimeStretcher::Process(const s16* in, std::size_t num_in, s16* out,
|
||||||
const double lpf_gain = 1.0 - std::exp(-time_delta / lpf_time_scale);
|
const double lpf_gain = 1.0 - std::exp(-time_delta / lpf_time_scale);
|
||||||
m_stretch_ratio += lpf_gain * (current_ratio - m_stretch_ratio);
|
m_stretch_ratio += lpf_gain * (current_ratio - m_stretch_ratio);
|
||||||
|
|
||||||
// Place a lower limit of 5% speed. When a game boots up, there will be
|
// Place a lower limit of 5% speed. When a game boots up, there will be
|
||||||
// many silence samples. These do not need to be timestretched.
|
// many silence samples. These do not need to be timestretched.
|
||||||
m_stretch_ratio = std::max(m_stretch_ratio, 0.05);
|
m_stretch_ratio = std::max(m_stretch_ratio, 0.05);
|
||||||
m_sound_touch.setTempo(m_stretch_ratio);
|
m_sound_touch.setTempo(m_stretch_ratio);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue