forked from ShuriZma/suyu
1
0
Fork 0
Zuma/src
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
..
audio_core audio_core: Make g_sink_details internally linked 2018-12-13 16:44:32 -05:00
common Backport review comment from citra-emu/citra#4418 2018-12-07 16:21:18 +01:00
core Merge pull request #1846 from lioncash/dir 2018-12-10 21:54:03 -05:00
input_common Port #4141 from citra: Joystick hotplug support (#1275) 2018-09-10 21:29:59 -04:00
tests global: Use std::optional instead of boost::optional (#1578) 2018-10-30 00:03:25 -04:00
video_core Merge pull request #1740 from FernandoS27/shader_props 2018-12-10 12:43:43 -05:00
web_service compatdb: Use a seperate endpoint for testcase submission 2018-10-28 13:23:02 +01:00
yuzu audio_core: Make g_sink_details internally linked 2018-12-13 16:44:32 -05:00
yuzu_cmd qt: Add Properties menu to game list right-click 2018-12-04 13:34:50 -05:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt Port web_service from Citra 2018-10-02 15:30:48 +02:00