citra-nightly/src/audio_core
Lioncash 90082268dc audio_core: Make g_sink_details internally linked
We can hide the direct array from external view and instead provide
functions to retrieve the necessary info. This has the benefit of
completely hiding the makeup of the SinkDetails structure from the rest
of the code.

Given that this makes the array hidden, we can also make the array
constexpr by altering the members slightly. This gets rid of several
static constructor calls related to std::vector and std::function.

Now we don't have heap allocations here that need to occur before the
program can even enter main(). It also has the benefit of saving a
little bit of heap space, but this doesn't matter too much, since the
savings in that regard are pretty tiny.
2018-12-16 02:44:04 +01:00
..
hle Memory: move GetPhysicalPointer and IsValidPhysicalAddress into class 2018-12-05 20:21:14 -05:00
audio_types.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
CMakeLists.txt externals: Don't build cubeb with tests 2018-05-31 21:01:48 -05:00
codec.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
codec.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
cubeb_sink.cpp audio_core: Make g_sink_details internally linked 2018-12-16 02:44:04 +01:00
cubeb_sink.h audio_core: Make g_sink_details internally linked 2018-12-16 02:44:04 +01:00
dsp_interface.cpp audio_core: Make g_sink_details internally linked 2018-12-16 02:44:04 +01:00
dsp_interface.h time_stretch: Simplify audio stretcher 2018-09-08 22:09:26 +01:00
interpolate.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
interpolate.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
null_sink.h audio_core: Make g_sink_details internally linked 2018-12-16 02:44:04 +01:00
sdl2_sink.cpp audio_core: Simplify sink interface 2018-09-08 22:09:26 +01:00
sdl2_sink.h audio_core: Simplify sink interface 2018-09-08 22:09:26 +01:00
sink.h audio_core: Simplify sink interface 2018-09-08 22:09:26 +01:00
sink_details.cpp audio_core: Make g_sink_details internally linked 2018-12-16 02:44:04 +01:00
sink_details.h audio_core: Make g_sink_details internally linked 2018-12-16 02:44:04 +01:00
time_stretch.cpp Logging: Change the TimeStretch::Process log from debug to trace level. 2018-10-06 16:55:05 +02:00
time_stretch.h time_stretch: Simplify audio stretcher 2018-09-08 22:09:26 +01:00