aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/wasapi.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clear the WASAPI device list when enumeratingChris Robinson2020-03-241-15/+12
|
* Don't send close messages for unopened WASAPI devicesChris Robinson2020-03-241-2/+10
|
* Avoid some pre-C++14 workaroundsChris Robinson2020-03-221-10/+9
|
* Remove unnecessary locks now that the mixer doesn't require oneChris Robinson2020-02-261-5/+6
|
* Make CreateRingBuffer a static RingBuffer methodChris Robinson2020-01-101-1/+1
|
* Make a duration type to handle WASAPI reference timesChris Robinson2019-12-221-34/+36
|
* Print the unhandled subformatChris Robinson2019-12-221-54/+54
|
* Try harder to find a matching WASAPI configurationChris Robinson2019-12-221-92/+110
| | | | | | As long as the lowest channel bits match the enabled bits for a given configuration, higher bits from any extra channels can be ignored since they can be skipped.
* Handle padding between device sample framesChris Robinson2019-12-211-18/+25
| | | | | | | | The padding must be constant and sample type aligned (e.g. some fixed multiple of two bytes between the start of two consecutive frames for 16-bit output). The intent is to always have the ability for stereo output with WASAPI even if the device has some other unsupported configuration, as long as front-left and front-right exist.
* Never return null from CreateRingBufferChris Robinson2019-10-081-5/+0
| | | | | Allocation failure would already throw a bad_alloc anyway, now a size overflow throws an exception too.
* Clean up some exception messages and avoid duplicate log messagesChris Robinson2019-10-081-2/+0
|
* Avoid raw lock/unlock callsChris Robinson2019-10-071-4/+3
|
* Use exceptions for backend open failuresChris Robinson2019-10-071-13/+12
|
* Use FastBSinc24 for WASAPI and CoreAudio captureChris Robinson2019-09-281-1/+1
| | | | Given a fixed rate, there's no downside to the fast version.
* Make the resampler type an enum classChris Robinson2019-09-221-1/+1
|
* Fix some Windows warningsChris Robinson2019-09-181-9/+9
|
* Return and pass more appropriate types for backendsChris Robinson2019-09-151-11/+11
|
* Fix a few more GCC warningsChris Robinson2019-09-141-0/+2
|
* Clean up (most) implicit conversions in the backendsChris Robinson2019-09-141-6/+6
|
* Return unsigned values from the FromDevFmt functionsChris Robinson2019-09-131-3/+2
|
* Fix function declarationChris Robinson2019-09-111-2/+3
|
* Avoid C-style casts in C++Chris Robinson2019-09-111-3/+6
|
* Avoid dynamically allocating ChannelConverterChris Robinson2019-09-101-16/+6
|
* Use unsigned for the sample and channel convertersChris Robinson2019-08-201-5/+5
|
* Move the wstr converters to a separate headerChris Robinson2019-08-111-0/+1
|
* Rename Alc to alcChris Robinson2019-07-281-0/+1763