2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00
yuzu/src/audio_core/out
Lioncash e0ec9ffc36 audio_in/out_system: Pass Initialize members by value where applicable
applet_resource_user_id isn't actually modified and is just assigned to
a member variable, so this doesn't need to be a mutable reference.

Similarly, the device name itself isn't modified and is only moved. We
pass by value here, since we can still perform the move, but eliminate a
sneaky set of calls that can unintentionally destroy the original
string. Given how nested the calls are, it's good to get rid of this
potential vector for a use-after-move bug.
2022-10-26 11:21:48 -04:00
..
audio_out.cpp audio_out: Mark several functions as const 2022-09-16 09:45:51 -04:00
audio_out.h audio_out: Mark several functions as const 2022-09-16 09:45:51 -04:00
audio_out_system.cpp audio_in/out_system: Pass Initialize members by value where applicable 2022-10-26 11:21:48 -04:00
audio_out_system.h audio_in/out_system: Pass Initialize members by value where applicable 2022-10-26 11:21:48 -04:00