summaryrefslogtreecommitdiffstats
path: root/src/audio_core/null_sink.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* audio_core: Make g_sink_details internally linkedLioncash2018-12-131-1/+1
| | | | | | | | | | | | | | | | 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.
* Port #4182 from Citra: "Prefix all size_t with std::"fearlessTobi2018-09-151-1/+1
|
* audio_core: Flush stream when not playing anythingMerryMage2018-09-121-0/+2
|
* Add audio stretching supportfearlessTobi2018-09-081-0/+4
|
* audio_core: Use s16 where possible for audio samples.bunnei2018-08-051-2/+1
|
* audio_core: Sinks need unique names as well.bunnei2018-08-041-1/+2
|
* audio_core: Add interfaces for Sink and SinkStream.bunnei2018-07-311-0/+27
|
* Massive removal of unused modulesJames Rowe2018-01-131-34/+0
|
* SDL: Select audio device (#2403)Kloen Lansfiel2017-01-261-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-1/+0
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner2016-09-191-2/+1
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-1/+2
|
* sink: Change EnqueueSamples to take a pointer to a buffer instead of a std::vectorMerryMage2016-08-311-1/+1
|
* AudioCore: Implement NullSinkMerryMage2016-04-301-0/+29