diff options
author | Lioncash <mathew1800@gmail.com> | 2020-11-25 15:21:03 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-12-03 00:54:31 -0500 |
commit | 1ea6bdef058a789e2771511f741bffcca73c3525 (patch) | |
tree | 6bcfaa3649add0bb73ff5bbcf982197439c896d1 /src/audio_core/stream.h | |
parent | dcfa1992ea5fa450b64a75503ba487fba401e757 (diff) |
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/stream.h')
-rw-r--r-- | src/audio_core/stream.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/stream.h b/src/audio_core/stream.h index 71c2d0b4f..506ac536b 100644 --- a/src/audio_core/stream.h +++ b/src/audio_core/stream.h @@ -44,8 +44,8 @@ public: /// Callback function type, used to change guest state on a buffer being released using ReleaseCallback = std::function<void()>; - Stream(Core::Timing::CoreTiming& core_timing, u32 sample_rate, Format format, - ReleaseCallback&& release_callback, SinkStream& sink_stream, std::string&& name_); + Stream(Core::Timing::CoreTiming& core_timing_, u32 sample_rate_, Format format_, + ReleaseCallback&& release_callback_, SinkStream& sink_stream_, std::string&& name_); /// Plays the audio stream void Play(); |