mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 05:05:46 +00:00
audio_render_manager: Mark several functions as const
This commit is contained in:
parent
7a5d235d94
commit
36c77761cf
2 changed files with 6 additions and 6 deletions
|
@ -25,8 +25,8 @@ SystemManager& Manager::GetSystemManager() {
|
|||
return *system_manager;
|
||||
}
|
||||
|
||||
auto Manager::GetWorkBufferSize(const AudioRendererParameterInternal& params, u64& out_count)
|
||||
-> Result {
|
||||
Result Manager::GetWorkBufferSize(const AudioRendererParameterInternal& params,
|
||||
u64& out_count) const {
|
||||
if (!CheckValidRevision(params.revision)) {
|
||||
return Service::Audio::ERR_INVALID_REVISION;
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ void Manager::ReleaseSessionId(const s32 session_id) {
|
|||
session_ids[--session_count] = session_id;
|
||||
}
|
||||
|
||||
u32 Manager::GetSessionCount() {
|
||||
u32 Manager::GetSessionCount() const {
|
||||
std::scoped_lock l{session_lock};
|
||||
return session_count;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue