Kyle Kienapfel
d886438754
Add break for default cases
Visual Studio has an option to search all files in a solution, so I
did a search in there for "default:" looking for any missing break
statements.
I've left out default statements that return something, and that throw
something, even if via ThrowInvalidType. UNREACHABLE leads towards throw
R_THROW macro leads towards a return
3 years ago
Morph
3dd414f844
general: Resolve -Wclass-memaccess
4 years ago
Kelebek1
2da6a39c19
Update audio_core for firmware 15.0.0
4 years ago
Liam
09777eea76
kernel: remove KWritableEvent
4 years ago
Liam
47fc168030
common: remove "yuzu:" prefix from thread names
4 years ago
Lioncash
17a8113847
audio_renderer: Make GetCommandBuffer() take a u32
This function is only ever called with unsigned types, and all of the
other interface functions take session_id as a u32, so this makes the
class a little more consistent.
4 years ago
Lioncash
98396de8f3
audio_renderer: Pass command buffer by const reference
This is just being copied and isn't modified at all.
4 years ago
Lioncash
80bcd1a873
node_states: Mark relevant member functions as const
4 years ago
Lioncash
f7da76494b
i3dl2/reverb: Mark relevant member functions as const
These two don't modify member state.
4 years ago
Lioncash
5629e0e145
behavior_info: Mark CopyErrorInfo as const
This doesn't modify member state.
We can also mark the parameter of AppendError as const as well, since it
isn't modified.
4 years ago
Lioncash
a66000f077
audio_device: Mark GetDeviceVolume as const
This doesn't modify instance state.
4 years ago
Lioncash
af8ce57e18
audio_core: Amend documentation tags
Resolves a wackload of -Wdocumentation warnings due to mismatching tags
and whatnot.
4 years ago
Lioncash
1747b5ae6c
audio_device: Mark member functions as const where applicable
These member functions don't modify any internal state.
4 years ago
Lioncash
0f1024b334
audio_device: Make AudioDeviceName constructor constexpr
These are used as read-only arrays, so we can make the data read-only
and available at compile-time.
Now constructing an AudioDevice no longer needs to initialize some
tables
4 years ago
Lioncash
b3c364d18b
compressor: Simplify memset in InitializeCompressorEffect
Provides equivalent behavior while being significantly smaller.
4 years ago
Lioncash
d145c663c3
compressor: Mark params parameters as const
These functions don't modify the parameters.
4 years ago
Lioncash
3a30364ff1
compressor: Remove unneeded casts in ApplyCompressorEffect
Same behavior, but also silences a -Wcast-qual warning, since the second
cast casts away const.
4 years ago
Kelebek1
c6d4071162
Remove pause callbacks from coretiming
4 years ago
Kelebek1
c3e3874d8d
Rework audio output, connecting AudioOut into coretiming to fix desync during heavy loads.
4 years ago
Liam
9484b3a70e
audio_core: fix -Wuninitialized when compiling with ASan
4 years ago
Kelebek1
c7ea6ef8a3
Avoid depop out of bounds
4 years ago
Kelebek1
be1f5f1d9f
Project Andio
4 years ago