summaryrefslogtreecommitdiffstats
path: root/src/audio_core/sink/sink_details.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-10-14audio_core: Revert sink name to sdl2Narr the Reg1-2/+2
2022-10-09Choose the SDL audio backend when Cubeb reports too high of a latencyKelebek11-22/+44
2022-09-02Rework audio output, connecting AudioOut into coretiming to fix desync during heavy loads.Kelebek11-3/+3
2022-07-22Project AndioKelebek11-13/+14
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2021-06-06Add SDL2 audio backendClément Gallet1-0/+10
2018-12-13audio_core: Make g_sink_details internally linkedLioncash1-8/+45
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-09-12audio_core/sink_details: Change std::string parameter into std::string_viewLioncash1-1/+1
The given string is only ever used for lookup and comparison, so we can just utilize a non-owning view to string data here
2018-07-31audio_core: Implement Sink and SinkStream interfaces with cubeb.bunnei1-0/+6
2018-07-31audio_core: Add interfaces for Sink and SinkStream.bunnei1-0/+38
2018-01-13Massive removal of unused modulesJames Rowe1-42/+0
2017-01-26SDL: Select audio device (#2403)Kloen Lansfiel1-0/+19
* Initial Commit Added Device logic to Sinks Started on UI for selecting devices Removed redundant import * Audio Core: Complete Device Switching Complete the device switching implementation by allowing the output device to be loaded, changed and saved through the configurations menu. Worked with the Sink abstraction and tuned the "Device Selection" configuration so that the Device List is automatically populated when the Sink is changed. This hopefully addresses the concerns and recommendations mentioned in the comments of the PR. * Clean original implementation. * Refactor GetSinkDetails
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner1-1/+1
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-3/+1
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-2/+2
2016-05-07AudioCore: SDL2 SinkMerryMage1-0/+7
2016-04-30Audio: Add sink selection to configuration filesMerryMage1-0/+1
2016-04-30AudioCore: List of sink typesMerryMage1-0/+17