audio_core: Make shadowing and unused parameters errors

Moves the audio code closer to enabling warnings as errors in general.
This commit is contained in:
Lioncash 2020-11-25 15:21:03 -05:00
parent dcfa1992ea
commit 1ea6bdef05
29 changed files with 163 additions and 154 deletions

View file

@ -18,7 +18,7 @@ class Buffer {
public:
using Tag = u64;
Buffer(Tag tag, std::vector<s16>&& samples) : tag{tag}, samples{std::move(samples)} {}
Buffer(Tag tag_, std::vector<s16>&& samples_) : tag{tag_}, samples{std::move(samples_)} {}
/// Returns the raw audio data for the buffer
std::vector<s16>& GetSamples() {