Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | audio_core/cubeb_sink: Ensure COM is initialized on Windows prior to calling cubeb_init | Lioncash | 2019-02-27 | 1 | -0/+15 |
| | | | | | cubeb now requires that COM explicitly be initialized on the thread prior to calling cubeb_init. | ||||
* | audio_core/cubeb_sink: Initialize CubebSinkStream's last_frame data member | Lioncash | 2019-02-25 | 1 | -1/+1 |
| | | | | | Ensures that all member variables are initialized in a deterministic manner across the board. | ||||
* | audio_core/cubeb_sink: Add override specifier to destructor | Lioncash | 2019-02-25 | 1 | -1/+1 |
| | | | | | CubebSinkStream inherits from a base class with a virtual destructor, so override can be appended to CubebSinkStream's destructor. | ||||
* | audio_core/cubeb_sink: Resolve variable shadowing warnings in SamplesInQueue | Lioncash | 2019-02-25 | 1 | -2/+2 |
| | | | | | | The name of the parameter was shadowing the member variable of the same name. Instead, alter the name of the parameter to prevent said shadowing. | ||||
* | audio_core: Make g_sink_details internally linked | Lioncash | 2018-12-13 | 1 | -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. | ||||
* | cubeb_sink: ignore null-name device when selecting | Weiyi Wang | 2018-10-27 | 1 | -1/+2 |
| | | | | We already ignore them on listing devices. We should do the same when selecting devices. This fix a crash when opening a specific device while there is a null device in the list | ||||
* | Merge pull request #1321 from lioncash/audio-shadow | bunnei | 2018-09-17 | 1 | -4/+4 |
|\ | | | | | cubeb_sink: Get rid of variable shadowing within CubebSink's constructor | ||||
| * | cubeb_sink: Get rid of variable shadowing within CubebSink's constructor | Lioncash | 2018-09-14 | 1 | -4/+4 |
| | | | | | | | | | | The parameter of the lambda was shadowing the variable that was being assigned to. | ||||
* | | Merge pull request #1320 from lioncash/name | bunnei | 2018-09-17 | 1 | -1/+1 |
|\ \ | | | | | | | cubeb_sink: Correct context name in ListCubebSinkDevices() | ||||
| * | | cubeb_sink: Correct context name in ListCubebSinkDevices() | Lioncash | 2018-09-14 | 1 | -1/+1 |
| |/ | | | | | | | This ain't Citra. | ||||
* / | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 2018-09-15 | 1 | -10/+11 |
|/ | |||||
* | audio_core: Flush stream when not playing anything | MerryMage | 2018-09-12 | 1 | -0/+11 |
| | |||||
* | cubeb_sink: Downsample arbitrary number of channels | MerryMage | 2018-09-09 | 1 | -10/+9 |
| | |||||
* | cubeb_sink: Perform audio stretching | MerryMage | 2018-09-08 | 1 | -17/+20 |
| | |||||
* | cubeb_sink: Hold last available value instead of writing zeros | MerryMage | 2018-09-08 | 1 | -5/+15 |
| | | | | This reduces clicking in output audio should we underrun. | ||||
* | cubeb_sink: Use RingBuffer | MerryMage | 2018-09-08 | 1 | -40/+26 |
| | |||||
* | Add audio stretching support | fearlessTobi | 2018-09-08 | 1 | -0/+7 |
| | |||||
* | cubeb_sink: Protect queue with a mutex | MerryMage | 2018-08-12 | 1 | -0/+6 |
| | |||||
* | audio_core: Use s16 where possible for audio samples. | bunnei | 2018-08-05 | 1 | -6/+5 |
| | |||||
* | cubeb_sink: Support variable sample_rate and num_channels. | bunnei | 2018-08-04 | 1 | -15/+25 |
| | |||||
* | audio_core: Sinks need unique names as well. | bunnei | 2018-08-04 | 1 | -5/+6 |
| | |||||
* | audio_core: Implement Sink and SinkStream interfaces with cubeb. | bunnei | 2018-07-31 | 1 | -0/+190 |