diff options
author | Lioncash <mathew1800@gmail.com> | 2019-02-16 15:21:32 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-02-16 15:21:35 -0500 |
commit | b009bda67a7f83854619d963c26c4309ee855d7b (patch) | |
tree | 3e1c8c7dd8709944cae8d6aa3d30ec3577ada196 /src/audio_core/buffer.h | |
parent | 99da6362c43a24c608a2790f668f10a62e3b80a6 (diff) |
audio_core/buffer: Make const and non-const getter for samples consistent
This way proper const/non-const selection can occur.
Diffstat (limited to 'src/audio_core/buffer.h')
-rw-r--r-- | src/audio_core/buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/buffer.h b/src/audio_core/buffer.h index a323b23ec..5ee09e9aa 100644 --- a/src/audio_core/buffer.h +++ b/src/audio_core/buffer.h @@ -21,7 +21,7 @@ public: Buffer(Tag tag, std::vector<s16>&& samples) : tag{tag}, samples{std::move(samples)} {} /// Returns the raw audio data for the buffer - std::vector<s16>& Samples() { + std::vector<s16>& GetSamples() { return samples; } |