diff options
Diffstat (limited to '')
-rw-r--r-- | src/audio_core/time_stretch.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/audio_core/time_stretch.h b/src/audio_core/time_stretch.h index 1fde3f72a..fa81718ed 100644 --- a/src/audio_core/time_stretch.h +++ b/src/audio_core/time_stretch.h @@ -5,7 +5,6 @@ #include <cstddef> #include <memory> #include <vector> - #include "common/common_types.h" namespace AudioCore { @@ -37,7 +36,8 @@ public: /** * Does audio stretching and produces the time-stretched samples. * Timer calculations use sample_delay to determine how much of a margin we have. - * @param sample_delay How many samples are buffered downstream of this module and haven't been played yet. + * @param sample_delay How many samples are buffered downstream of this module and haven't been + * played yet. * @return Samples to play in interleaved stereo PCM16 format. */ std::vector<s16> Process(size_t sample_delay); @@ -48,7 +48,8 @@ private: /// INTERNAL: ratio = wallclock time / emulated time double CalculateCurrentRatio(); - /// INTERNAL: If we have too many or too few samples downstream, nudge ratio in the appropriate direction. + /// INTERNAL: If we have too many or too few samples downstream, nudge ratio in the appropriate + /// direction. double CorrectForUnderAndOverflow(double ratio, size_t sample_delay) const; /// INTERNAL: Gets the time-stretched samples from SoundTouch. std::vector<s16> GetSamples(); |