mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-24 02:29:20 +01:00
audio_core: remove unnecessary spaces on comments
This commit is contained in:
parent
95a57a2fe3
commit
6560fac5ff
@ -54,8 +54,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);
|
||||||
stretch_ratio += lpf_gain * (current_ratio - stretch_ratio);
|
stretch_ratio += lpf_gain * (current_ratio - 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.
|
||||||
stretch_ratio = std::max(stretch_ratio, 0.05);
|
stretch_ratio = std::max(stretch_ratio, 0.05);
|
||||||
sound_touch->setTempo(stretch_ratio);
|
sound_touch->setTempo(stretch_ratio);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user