citra/src/audio_core
Lioncash 6beb823f15 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-13 16:44:32 -05:00
..
algorithm Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
audio_out.cpp audio_core: Make g_sink_details internally linked 2018-12-13 16:44:32 -05:00
audio_out.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
audio_renderer.cpp core: Port all current usages of Event to Readable/WritableEvent 2018-11-29 08:45:41 -05:00
audio_renderer.h core: Port all current usages of Event to Readable/WritableEvent 2018-11-29 08:45:41 -05:00
buffer.h audio_core: Use s16 where possible for audio samples. 2018-08-04 18:22:58 -04:00
CMakeLists.txt audio_core: Add audio stretcher 2018-09-08 18:56:38 +01:00
codec.cpp Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
codec.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
cubeb_sink.cpp audio_core: Make g_sink_details internally linked 2018-12-13 16:44:32 -05:00
cubeb_sink.h audio_core: Make g_sink_details internally linked 2018-12-13 16:44:32 -05:00
null_sink.h audio_core: Make g_sink_details internally linked 2018-12-13 16:44:32 -05:00
sink.h audio_core: Sinks need unique names as well. 2018-08-04 14:34:12 -04:00
sink_details.cpp audio_core: Make g_sink_details internally linked 2018-12-13 16:44:32 -05:00
sink_details.h audio_core: Make g_sink_details internally linked 2018-12-13 16:44:32 -05:00
sink_stream.h audio_core: Flush stream when not playing anything 2018-09-12 18:09:14 +01:00
stream.cpp microprofile: Drop ReleaseActiveBuffer scope. 2018-11-06 17:45:32 +01:00
stream.h stream: Preserve enum class type in GetState() 2018-09-23 20:03:38 -04:00
time_stretch.cpp time_stretch: Switch to values of Citra 2018-10-29 14:49:36 +01:00
time_stretch.h time_stretch: Remove unused m_channel_count member variable 2018-10-24 00:46:17 -04:00