summaryrefslogtreecommitdiff
path: root/src/audio_core/effect_context.h
diff options
context:
space:
mode:
authorGravatar Lioncash2020-11-25 15:21:03 -0500
committerGravatar Lioncash2020-12-03 00:54:31 -0500
commit1ea6bdef058a789e2771511f741bffcca73c3525 (patch)
tree6bcfaa3649add0bb73ff5bbcf982197439c896d1 /src/audio_core/effect_context.h
parentMerge pull request #4959 from Morph1984/emulated-controller-styleset (diff)
downloadyuzu-1ea6bdef058a789e2771511f741bffcca73c3525.tar.gz
yuzu-1ea6bdef058a789e2771511f741bffcca73c3525.tar.xz
yuzu-1ea6bdef058a789e2771511f741bffcca73c3525.zip
audio_core: Make shadowing and unused parameters errors
Moves the audio code closer to enabling warnings as errors in general.
Diffstat (limited to 'src/audio_core/effect_context.h')
-rw-r--r--src/audio_core/effect_context.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio_core/effect_context.h b/src/audio_core/effect_context.h
index 03c5a0f04..c5e0b398c 100644
--- a/src/audio_core/effect_context.h
+++ b/src/audio_core/effect_context.h
@@ -184,7 +184,7 @@ struct AuxAddress {
184 184
185class EffectBase { 185class EffectBase {
186public: 186public:
187 explicit EffectBase(EffectType effect_type); 187 explicit EffectBase(EffectType effect_type_);
188 virtual ~EffectBase(); 188 virtual ~EffectBase();
189 189
190 virtual void Update(EffectInfo::InParams& in_params) = 0; 190 virtual void Update(EffectInfo::InParams& in_params) = 0;
@@ -206,7 +206,7 @@ protected:
206template <typename T> 206template <typename T>
207class EffectGeneric : public EffectBase { 207class EffectGeneric : public EffectBase {
208public: 208public:
209 explicit EffectGeneric(EffectType effect_type) : EffectBase(effect_type) {} 209 explicit EffectGeneric(EffectType effect_type_) : EffectBase(effect_type_) {}
210 210
211 T& GetParams() { 211 T& GetParams() {
212 return internal_params; 212 return internal_params;
@@ -306,7 +306,7 @@ private:
306 306
307class EffectContext { 307class EffectContext {
308public: 308public:
309 explicit EffectContext(std::size_t effect_count); 309 explicit EffectContext(std::size_t effect_count_);
310 ~EffectContext(); 310 ~EffectContext();
311 311
312 [[nodiscard]] std::size_t GetCount() const; 312 [[nodiscard]] std::size_t GetCount() const;