diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-09-18 02:38:01 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-09-18 02:38:01 +0200 |
commit | dc8479928c5aee4c6ad6fe4f59006fb604cee701 (patch) | |
tree | 569a7f13128450bbab973236615587ff00bced5f /src/audio_core/interpolate.h | |
parent | Travis: Import Dolphin’s clang-format hook. (diff) | |
download | yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.gz yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.bz2 yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.lz yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.xz yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.tar.zst yuzu-dc8479928c5aee4c6ad6fe4f59006fb604cee701.zip |
Diffstat (limited to 'src/audio_core/interpolate.h')
-rw-r--r-- | src/audio_core/interpolate.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/audio_core/interpolate.h b/src/audio_core/interpolate.h index a4c0a453d..99e5b9657 100644 --- a/src/audio_core/interpolate.h +++ b/src/audio_core/interpolate.h @@ -24,7 +24,8 @@ struct State { * No interpolation. This is equivalent to a zero-order hold. There is a two-sample predelay. * @param input Input buffer. * @param rate_multiplier Stretch factor. Must be a positive non-zero value. - * rate_multiplier > 1.0 performs decimation and rate_multipler < 1.0 performs upsampling. + * rate_multiplier > 1.0 performs decimation and rate_multipler < 1.0 + * performs upsampling. * @return The resampled audio buffer. */ StereoBuffer16 None(State& state, const StereoBuffer16& input, float rate_multiplier); @@ -33,7 +34,8 @@ StereoBuffer16 None(State& state, const StereoBuffer16& input, float rate_multip * Linear interpolation. This is equivalent to a first-order hold. There is a two-sample predelay. * @param input Input buffer. * @param rate_multiplier Stretch factor. Must be a positive non-zero value. - * rate_multiplier > 1.0 performs decimation and rate_multipler < 1.0 performs upsampling. + * rate_multiplier > 1.0 performs decimation and rate_multipler < 1.0 + * performs upsampling. * @return The resampled audio buffer. */ StereoBuffer16 Linear(State& state, const StereoBuffer16& input, float rate_multiplier); |