diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-09-15 16:36:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-15 16:36:18 +0200 |
commit | b06ef5d530abdccb56d57d5156c48b68544d8ce8 (patch) | |
tree | 3184832c48f3f158e19d6ec4339dd92b44e1f842 /src/audio_core/renderer/command/mix/mix_ramp.h | |
parent | Merge pull request #8909 from Docteh/taslinky (diff) | |
parent | audio_core: Amend documentation tags (diff) | |
download | yuzu-b06ef5d530abdccb56d57d5156c48b68544d8ce8.tar yuzu-b06ef5d530abdccb56d57d5156c48b68544d8ce8.tar.gz yuzu-b06ef5d530abdccb56d57d5156c48b68544d8ce8.tar.bz2 yuzu-b06ef5d530abdccb56d57d5156c48b68544d8ce8.tar.lz yuzu-b06ef5d530abdccb56d57d5156c48b68544d8ce8.tar.xz yuzu-b06ef5d530abdccb56d57d5156c48b68544d8ce8.tar.zst yuzu-b06ef5d530abdccb56d57d5156c48b68544d8ce8.zip |
Diffstat (limited to 'src/audio_core/renderer/command/mix/mix_ramp.h')
-rw-r--r-- | src/audio_core/renderer/command/mix/mix_ramp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio_core/renderer/command/mix/mix_ramp.h b/src/audio_core/renderer/command/mix/mix_ramp.h index 770f57e80..52f74a273 100644 --- a/src/audio_core/renderer/command/mix/mix_ramp.h +++ b/src/audio_core/renderer/command/mix/mix_ramp.h @@ -61,13 +61,13 @@ struct MixRampCommand : ICommand { * @tparam Q - Number of bits for fixed point operations. * @param output - Output mix buffer. * @param input - Input mix buffer. - * @param volume - Volume applied to the input. - * @param ramp - Ramp applied to volume every sample. + * @param volume_ - Volume applied to the input. + * @param ramp_ - Ramp applied to volume every sample. * @param sample_count - Number of samples to process. * @return The final gained input sample, used for depopping. */ template <size_t Q> -s32 ApplyMixRamp(std::span<s32> output, std::span<const s32> input, const f32 volume_, - const f32 ramp_, const u32 sample_count); +s32 ApplyMixRamp(std::span<s32> output, std::span<const s32> input, f32 volume_, f32 ramp_, + u32 sample_count); } // namespace AudioCore::AudioRenderer |