mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 15:28:13 -05:00
audio_device: Mark member functions as const where applicable
These member functions don't modify any internal state.
This commit is contained in:
@ -252,7 +252,7 @@ private:
|
||||
|
||||
std::vector<AudioDevice::AudioDeviceName> out_names{};
|
||||
|
||||
u32 out_count = impl->ListAudioDeviceName(out_names, in_count);
|
||||
const u32 out_count = impl->ListAudioDeviceName(out_names, in_count);
|
||||
|
||||
std::string out{};
|
||||
for (u32 i = 0; i < out_count; i++) {
|
||||
@ -365,7 +365,7 @@ private:
|
||||
|
||||
std::vector<AudioDevice::AudioDeviceName> out_names{};
|
||||
|
||||
u32 out_count = impl->ListAudioOutputDeviceName(out_names, in_count);
|
||||
const u32 out_count = impl->ListAudioOutputDeviceName(out_names, in_count);
|
||||
|
||||
std::string out{};
|
||||
for (u32 i = 0; i < out_count; i++) {
|
||||
|
Reference in New Issue
Block a user