mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 00:47:57 -05:00
device_session: Pass arguments by const-ref in relevant functions
These functions don't modify the passed in audio buffers, so we can signify that in the interface.
This commit is contained in:
@ -93,7 +93,7 @@ public:
|
||||
*
|
||||
* @return Is the buffer was released.
|
||||
*/
|
||||
bool ReleaseBuffers(Core::Timing::CoreTiming& core_timing, DeviceSession& session) {
|
||||
bool ReleaseBuffers(const Core::Timing::CoreTiming& core_timing, const DeviceSession& session) {
|
||||
std::scoped_lock l{lock};
|
||||
bool buffer_released{false};
|
||||
while (registered_count > 0) {
|
||||
|
Reference in New Issue
Block a user