Commit Graph

17 Commits (48d9d66dc585477d26b4cfbf1c4f71fd637b42ea)

Author SHA1 Message Date
Lioncash 48d9d66dc5 core_timing: Rename CoreTiming namespace to Core::Timing
Places all of the timing-related functionality under the existing Core
namespace to keep things consistent, rather than having the timing
utilities sitting in its own completely separate namespace.
6 years ago
fearlessTobi 7185d90a53 dsp_interface: fix sound being played while volume is 0
According to documentation, if the argument of std::exp is zero, one is returned.
However we want the return value to be also zero in this case so no audio is played.
6 years ago
Lioncash a73c7c73eb audio_core: Convert LOG_CRITICAL + UNREACHABLE over to UNIMPLEMENTED/UNIMPLEMENTED_MSG
These two macros being used in tandem were used prior to the
introduction of UNIMPLEMENTED and UNIMPLEMENTED_MSG. This provides
equivalent behavior, just with less typing/reading involved.
6 years ago
Markus Wick 2ba4d878e5 microprofile: Drop ReleaseActiveBuffer scope.
This was created with the unfinished resampling PR in mind.
As the resampling is now on the audio thread, we don't need to care about this here any more.
7 years ago
Lioncash 2f6a611311 stream: Preserve enum class type in GetState()
Preserves the meaning/type-safetiness of the stream state instead of
making it an opaque u32. This makes it usable for other things outside
of the service HLE context.
7 years ago
David Marcec c461188f51 Added audren:u#GetAudioRendererState 7 years ago
Lioncash 2fd124bc93 stream: Replace includes with forward declarations where applicable
Avoids propagating includes in headers where it's not necessary to do
so.
7 years ago
fearlessTobi 63c2e32e20 Port #4182 from Citra: "Prefix all size_t with std::" 7 years ago
MerryMage 957ddab679 audio_core: Flush stream when not playing anything 7 years ago
fearlessTobi a6efff8b02 Add audio stretching support 7 years ago
Markus Wick 10bc725944 Update microprofile scopes.
Blame the subsystems which deserve the blame :)

The updated list is not complete, just the ones I've spotted on random sampling the stack trace.
7 years ago
bunnei 1dee8ceda1 audio_core: Use s16 where possible for audio samples. 7 years ago
bunnei 9f846d3aa4 audio_core: Streams need unique names for CoreTiming. 7 years ago
bunnei ca84b530a3 audio_core: Add configuration settings. 7 years ago
bunnei f437c11caf audio_core: Implement Sink and SinkStream interfaces with cubeb. 7 years ago
bunnei 0e8a2c7222 audio_core: Misc. improvements to stream/buffer/audio_out. 7 years ago
bunnei ab756fd068 audio_core: Add initial code for keeping track of audout state. 7 years ago