diff options
author | Lioncash <mathew1800@gmail.com> | 2022-09-16 15:36:00 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-09-16 15:36:03 +0200 |
commit | e9109cb5f214218909c978b7fbd5a7cb71bdf890 (patch) | |
tree | 626a7b1289f6eef0ce274e64348327a29d454e39 /src/audio_core/device/audio_buffers.h | |
parent | device_session: Convert for loop into ranged for in AppendBuffers (diff) | |
download | yuzu-e9109cb5f214218909c978b7fbd5a7cb71bdf890.tar yuzu-e9109cb5f214218909c978b7fbd5a7cb71bdf890.tar.gz yuzu-e9109cb5f214218909c978b7fbd5a7cb71bdf890.tar.bz2 yuzu-e9109cb5f214218909c978b7fbd5a7cb71bdf890.tar.lz yuzu-e9109cb5f214218909c978b7fbd5a7cb71bdf890.tar.xz yuzu-e9109cb5f214218909c978b7fbd5a7cb71bdf890.tar.zst yuzu-e9109cb5f214218909c978b7fbd5a7cb71bdf890.zip |
Diffstat (limited to 'src/audio_core/device/audio_buffers.h')
-rw-r--r-- | src/audio_core/device/audio_buffers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/device/audio_buffers.h b/src/audio_core/device/audio_buffers.h index 4918a61c7..3dae1a3b7 100644 --- a/src/audio_core/device/audio_buffers.h +++ b/src/audio_core/device/audio_buffers.h @@ -36,7 +36,7 @@ public: * * @param buffer - The new buffer. */ - void AppendBuffer(AudioBuffer& buffer) { + void AppendBuffer(const AudioBuffer& buffer) { std::scoped_lock l{lock}; buffers[appended_index] = buffer; appended_count++; |