mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-17 12:27:18 +01:00
sink_details: Remove unnecessary lambdas
This commit is contained in:
parent
05fc17b88a
commit
ce5a5412ae
@ -21,12 +21,12 @@ namespace AudioCore {
|
|||||||
// g_sink_details is ordered in terms of desirability, with the best choice at the top.
|
// g_sink_details is ordered in terms of desirability, with the best choice at the top.
|
||||||
const std::vector<SinkDetails> g_sink_details = {
|
const std::vector<SinkDetails> g_sink_details = {
|
||||||
#ifdef HAVE_CUBEB
|
#ifdef HAVE_CUBEB
|
||||||
{"cubeb", []() { return std::make_unique<CubebSink>(); }},
|
{"cubeb", &std::make_unique<CubebSink>},
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_SDL2
|
#ifdef HAVE_SDL2
|
||||||
{"sdl2", []() { return std::make_unique<SDL2Sink>(); }},
|
{"sdl2", &std::make_unique<SDL2Sink>},
|
||||||
#endif
|
#endif
|
||||||
{"null", []() { return std::make_unique<NullSink>(); }},
|
{"null", &std::make_unique<NullSink>},
|
||||||
};
|
};
|
||||||
|
|
||||||
const SinkDetails& GetSinkDetails(std::string sink_id) {
|
const SinkDetails& GetSinkDetails(std::string sink_id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user