summaryrefslogtreecommitdiff
path: root/src/audio_core/buffer.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-02-17 11:26:33 -0500
committerGitHub <noreply@github.com>2019-02-17 11:26:33 -0500
commit2bb02a0b7896320e6fb7cef6792fa8faeb095091 (patch)
tree23a99542a3d1d0be7982b3dff9c355c3a8fc9cbb /src/audio_core/buffer.h
parente869c5ef1a2214cb7f51c7ba1e4b8fe03a607a22 (diff)
parentb009bda67a7f83854619d963c26c4309ee855d7b (diff)
Merge pull request #2134 from lioncash/naming
audio_core/buffer: Make const and non-const getter for samples consistent
Diffstat (limited to 'src/audio_core/buffer.h')
-rw-r--r--src/audio_core/buffer.h2
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;
}