aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/sndio.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move alexcpt to coreChris Robinson2020-12-241-1/+0
|
* Avoid AL/ALC types in the backendsChris Robinson2020-12-171-9/+9
|
* Don't use ALC error enums for the backend error codeChris Robinson2020-12-171-15/+18
|
* Don't return an enum from captureSamplesChris Robinson2020-12-171-9/+6
| | | | It's always no_error
* Move logging to coreChris Robinson2020-12-171-2/+2
|
* Change a couple functions into member functionsChris Robinson2020-08-071-4/+4
|
* Move a couple related functions to the backend baseChris Robinson2020-06-121-2/+2
|
* Check the returned sample endianess with sndioChris Robinson2020-06-071-0/+6
|
* Fix a return valueChris Robinson2020-06-071-1/+1
|
* Use a safer layout if sndio changes the channel countChris Robinson2020-06-071-61/+78
|
* sndio: Support more than 2 channelsDaniel Gibson2020-06-071-2/+32
| | | | | | | So far the sndio backend only supports Mono and Stereo, but sndio supports up to 16 channels (64 in their current git code). This adds support for all the openal-soft formats (DevFmt*). I tested this on Linux with 5.1 surround speakers.
* Don't return a bool from the backend start methodChris Robinson2020-04-281-24/+12
|
* Use standard attribute declarationsChris Robinson2020-04-131-0/+1
|
* Get rid of a redundant enumChris Robinson2020-03-301-3/+3
|
* Return the enumerated device names from the backendChris Robinson2020-03-301-6/+8
| | | | Rather than using an out parameter.
* Remove unnecessary locks now that the mixer doesn't require oneChris Robinson2020-02-261-4/+1
|
* Make CreateRingBuffer a static RingBuffer methodChris Robinson2020-01-101-1/+1
|
* 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.
* 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-34/+13
|
* Avoid raw lock/unlock callsChris Robinson2019-10-071-3/+4
|
* Use exceptions for backend open failuresChris Robinson2019-10-071-41/+44
|
* Return and pass more appropriate types for backendsChris Robinson2019-09-151-18/+18
|
* Return unsigned values from the FromDevFmt functionsChris Robinson2019-09-131-7/+6
|
* Avoid C-style casts in C++Chris Robinson2019-09-111-1/+1
|
* Rename Alc to alcChris Robinson2019-07-281-0/+495