mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 03:28:02 -05: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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user