| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |\
| |
| | |
CMake: Use precompiled headers to improve compile times
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
general: fix compile for Apple Clang
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
AudioCore: Take suspend lock when stalling the running process.
|
| | |/ /
| | |
| | |
| | | |
- Prevents us from clashing with other callers trying to un/stall.
|
| | |/
|/|
| |
| |
| | |
Trying to be lazy and alias SDL2 to SDL2-static causes issues in later
versions of CMake. Just use the same condition to tell which one to use.
|
| |/
|
|
| |
count
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
| |
These are already explicitly or implicitly set in src/CMakeLists.txt
|
| | |
|
| |
|
|
| |
Co-authored-by: Mai <mathew1800@gmail.com>
|
| |
|
|
|
|
|
|
| |
The function prototype appears to care whether we are loading capture
devices or not, and SDL_GetAudioDeviceName has a parameter to use it,
but for some reason it isn't.
This puts `capture` where it goes.
|
| |
|
|
|
|
|
| |
Attempting to place a null string into a vector of strings causes an
error that closes the application.
Don't.
|
| |\
| |
| | |
kernel: remove KWritableEvent
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| |\
| |
| | |
Do not try to pause core timing from the audio thread when using single-core
|
| | | |
|
| |\ \
| | |
| | | |
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.
|
| | |
| |
| |
| | |
Moves the include into the cpp file to lessen header dependencies.
|
| | |
| |
| |
| | |
We can just use a local here to get rid of a second cast.
|
| | |
| |
| |
| |
| | |
Prevents unnecessary reallocations in the event the captured variables
are larger than the internal std::function buffer.
|
| | |
| |
| |
| |
| | |
Allows us to get rid of some unnecessary forward declarations and
includes.
|
| | |
| |
| |
| | |
This isn't used, so it can be removed.
|
| |/
|
|
| |
This isn't used by the class, so this can be removed for the time being.
|
| |\
| |
| | |
audio_core: Mark several member functions as const
|
| | |
| |
| |
| | |
This is just being copied and isn't modified at all.
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
These two don't modify member state.
|
| | |
| |
| |
| |
| |
| |
| | |
This doesn't modify member state.
We can also mark the parameter of AppendError as const as well, since it
isn't modified.
|
| | |
| |
| |
| | |
This doesn't modify instance state.
|
| | | |
|
| | |
| |
| |
| | |
These functions don't modify class state, so we can mark them as such
|
| | |
| |
| |
| | |
These don't affect class state, so we can mark them as such.
|
| | |
| |
| |
| |
| | |
This function doesn't modify the passed in buffer, so we can make that
explicit.
|
| | |
| |
| |
| | |
Simplifies the indexing code a little bit.
|
| | |
| |
| |
| |
| | |
These functions don't modify the passed in audio buffers, so we can
signify that in the interface.
|
| |\ \
| |/
|/| |
audio_device: Make AudioDeviceName constructor constexpr
|