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:
parent
dcfa1992ea
commit
1ea6bdef05
29 changed files with 163 additions and 154 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue