aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/oss.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clean up some gotos and non-optimal castsChris Robinson2023-12-261-11/+3
|
* Fix implicit widening after multiplicationChris Robinson2023-12-231-1/+1
|
* Use string_views for querying config parametersChris Robinson2023-12-211-2/+2
|
* Remove DEF_NEWDELChris Robinson2023-12-161-4/+0
| | | | | C++17 provides alignment-aware allocators for us, so we don't need to use our own to make sure classes/structs are properly aligned.
* Mostly finish cleanup for backendsChris Robinson2023-12-111-1/+3
| | | | Except CoreAudio and Solaris backends
* Fix some clang-tidy warningsChris Robinson2023-12-081-1/+1
|
* Use a string_view for the backend open methodChris Robinson2023-08-061-8/+8
|
* Move althrd_setname to its own sourceChris Robinson2023-06-011-1/+1
|
* Avoid using al::vector unnecessarilyChris Robinson2023-05-121-7/+7
|
* Clean up some more includesChris Robinson2023-05-121-2/+0
|
* Use std::byte instead of a custom al::byteChris Robinson2023-05-041-5/+4
|
* Replace al::optional with std::optionalChris Robinson2023-05-041-1/+0
|
* Update include headersChris Robinson2021-04-271-4/+3
| | | | Don't add alc/ to the include paths.
* Use the DeviceBase for the backendChris Robinson2021-04-241-3/+3
|
* Move helpers.cpp to coreChris Robinson2021-04-221-1/+1
|
* Move declarations to a more appropriate headerChris Robinson2021-04-221-0/+1
|
* Allow calling BackendBase::open multiple times on playback devicesChris Robinson2021-03-081-3/+7
| | | | | | | | | | | It will not be called while the device is running. If the first call succeeds, a subsequent call that happens to fail must leave the existing device state as it was so it can be resumed. This is a rough first pass. It will fail when trying to re-open the same device which can only be opened once (for instance, with direct hardware access, on hardware that doesn't do its own mixing). Some backends won't guarantee the new device is usable until the reset() or start() call.
* Remove unnecessary includesChris Robinson2020-12-241-2/+0
|
* Move alexcpt to coreChris Robinson2020-12-241-1/+0
|
* Avoid AL/ALC types in the backendsChris Robinson2020-12-171-28/+29
|
* Don't use ALC error enums for the backend error codeChris Robinson2020-12-171-13/+16
|
* Don't return an enum from captureSamplesChris Robinson2020-12-171-9/+6
| | | | It's always no_error
* Move logging to coreChris Robinson2020-12-171-1/+1
|
* Change a couple functions into member functionsChris Robinson2020-08-071-7/+5
|
* Cleanup OSS enumeration and fix duplicate namesChris Robinson2020-08-071-55/+39
|
* Move a couple related functions to the backend baseChris Robinson2020-06-121-1/+1
|
* Don't return a bool from the backend start methodChris Robinson2020-04-281-14/+8
|
* Get rid of a redundant enumChris Robinson2020-03-301-3/+3
|
* Return the enumerated device names from the backendChris Robinson2020-03-301-13/+17
| | | | Rather than using an out parameter.
* Remove the check for stat()Chris Robinson2020-03-211-2/+0
| | | | It's POSIX-2001 standard
* Remove unnecessary locks now that the mixer doesn't require oneChris Robinson2020-02-261-3/+0
|
* 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-35/+11
|
* Avoid raw lock/unlock callsChris Robinson2019-10-071-4/+3
|
* Use exceptions for backend open failuresChris Robinson2019-10-071-37/+33
|
* Return and pass more appropriate types for backendsChris Robinson2019-09-151-16/+16
|
* Clean up (most) implicit conversions in the backendsChris Robinson2019-09-141-2/+2
|
* Return unsigned values from the FromDevFmt functionsChris Robinson2019-09-131-34/+25
|
* Rename Alc to alcChris Robinson2019-07-281-0/+751