mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-02-22 20:13:08 +00:00
audio_core/buffer: Make const and non-const getter for samples consistent
This way proper const/non-const selection can occur.
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user