summaryrefslogtreecommitdiffstats
path: root/src/audio_core/renderer/command/mix/mix_ramp.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-09-15 16:36:18 +0200
committerGitHub <noreply@github.com>2022-09-15 16:36:18 +0200
commitb06ef5d530abdccb56d57d5156c48b68544d8ce8 (patch)
tree3184832c48f3f158e19d6ec4339dd92b44e1f842 /src/audio_core/renderer/command/mix/mix_ramp.h
parentMerge pull request #8909 from Docteh/taslinky (diff)
parentaudio_core: Amend documentation tags (diff)
downloadyuzu-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.h8
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