diff options
| author | 2020-11-25 15:21:03 -0500 | |
|---|---|---|
| committer | 2020-12-03 00:54:31 -0500 | |
| commit | 1ea6bdef058a789e2771511f741bffcca73c3525 (patch) | |
| tree | 6bcfaa3649add0bb73ff5bbcf982197439c896d1 /src/audio_core/stream.h | |
| parent | Merge pull request #4959 from Morph1984/emulated-controller-styleset (diff) | |
| download | yuzu-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/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: | |||
| 44 | /// Callback function type, used to change guest state on a buffer being released | 44 | /// Callback function type, used to change guest state on a buffer being released |
| 45 | using ReleaseCallback = std::function<void()>; | 45 | using ReleaseCallback = std::function<void()>; |
| 46 | 46 | ||
| 47 | Stream(Core::Timing::CoreTiming& core_timing, u32 sample_rate, Format format, | 47 | Stream(Core::Timing::CoreTiming& core_timing_, u32 sample_rate_, Format format_, |
| 48 | ReleaseCallback&& release_callback, SinkStream& sink_stream, std::string&& name_); | 48 | ReleaseCallback&& release_callback_, SinkStream& sink_stream_, std::string&& name_); |
| 49 | 49 | ||
| 50 | /// Plays the audio stream | 50 | /// Plays the audio stream |
| 51 | void Play(); | 51 | void Play(); |