aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/stream.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-02-16 15:21:32 -0500
committerLioncash <mathew1800@gmail.com>2019-02-16 15:21:35 -0500
commitb009bda67a7f83854619d963c26c4309ee855d7b (patch)
tree3e1c8c7dd8709944cae8d6aa3d30ec3577ada196 /src/audio_core/stream.cpp
parent99da6362c43a24c608a2790f668f10a62e3b80a6 (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/stream.cpp')
-rw-r--r--src/audio_core/stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/stream.cpp b/src/audio_core/stream.cpp
index d89ff30b72..4b66a6786c 100644
--- a/src/audio_core/stream.cpp
+++ b/src/audio_core/stream.cpp
@@ -95,7 +95,7 @@ void Stream::PlayNextBuffer() {
active_buffer = queued_buffers.front();
queued_buffers.pop();
- VolumeAdjustSamples(active_buffer->Samples());
+ VolumeAdjustSamples(active_buffer->GetSamples());
sink_stream.EnqueueSamples(GetNumChannels(), active_buffer->GetSamples());