aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/portaudio.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Handle padding between device sample framesChris Robinson2019-12-211-1/+2
| | | | | | | | 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.
* Make C callbacks noexceptChris Robinson2019-10-091-12/+10
| | | | | No telling what would happen if exceptions managed to get back into presumably C-based callers.
* Never return null from CreateRingBufferChris Robinson2019-10-081-1/+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-5/+0
|
* Avoid raw lock/unlock callsChris Robinson2019-10-071-2/+1
|
* Use exceptions for backend open failuresChris Robinson2019-10-071-68/+61
|
* Return and pass more appropriate types for backendsChris Robinson2019-09-151-15/+15
|
* Return unsigned values from the FromDevFmt functionsChris Robinson2019-09-131-5/+5
|
* Move the dynload decls and defs to commonChris Robinson2019-08-101-1/+1
|
* Rename Alc to alcChris Robinson2019-07-281-0/+463