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
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
..
common Project Andio 2022-07-22 01:11:32 +01:00
device audio_buffers: Pass by const-ref in AppendBuffers 2022-09-16 09:36:03 -04:00
in audio_in/out_system: Pass Initialize members by value where applicable 2022-10-26 11:21:48 -04:00
out audio_in/out_system: Pass Initialize members by value where applicable 2022-10-26 11:21:48 -04:00
renderer general: Resolve -Wclass-memaccess 2022-10-22 15:02:04 -04:00
sink sdl2_sink: Inline variable init into if condition 2022-10-16 21:36:40 -04:00
audio_core.cpp audio_manager: Remove dependence on system state 2022-09-21 09:26:42 -04:00
audio_core.h Merge pull request #8878 from Kelebek1/remove_pause 2022-09-15 13:50:13 -07:00
audio_event.cpp Project Andio 2022-07-22 01:11:32 +01:00
audio_event.h audio_core: Amend documentation tags 2022-09-15 09:47:23 -04:00
audio_in_manager.cpp audio_device: Make AudioDeviceName constructor constexpr 2022-09-15 09:03:40 -04:00
audio_in_manager.h audio_core: Amend documentation tags 2022-09-15 09:47:23 -04:00
audio_manager.cpp audio_manager: Forward declare result type 2022-09-21 09:43:59 -04:00
audio_manager.h audio_manager: Forward declare result type 2022-09-21 09:43:59 -04:00
audio_out_manager.cpp audio_device: Make AudioDeviceName constructor constexpr 2022-09-15 09:03:40 -04:00
audio_out_manager.h Project Andio 2022-07-22 01:11:32 +01:00
audio_render_manager.cpp audio_render_manager: Mark several functions as const 2022-09-16 09:50:32 -04:00
audio_render_manager.h audio_render_manager: Mark several functions as const 2022-09-16 09:50:32 -04:00
CMakeLists.txt general: Enforce C4800 everywhere except in video_core 2022-10-22 15:02:04 -04:00