aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename ALvoice and related structs to VoiceChris Robinson2020-03-281-13/+12
|
* Avoid AL[C]boolean for internal useChris Robinson2020-03-281-7/+6
|
* Dynamically allocate voice channel dataChris Robinson2020-03-251-26/+18
| | | | | | | Rather than allocating for a full 8 channels for each voice, when the vast majority will only need 1 or 2. The voice channel data is relatively big since it needs to hold HRTF coefficients and history, and this will allow increasing the maximum number of buffer channels without an obscene memory increase.
* Use make_unique instead of new'ing into a unique_ptrChris Robinson2020-03-221-2/+2
|
* Avoid some pre-C++14 workaroundsChris Robinson2020-03-221-1/+1
|
* Move the FPUCtl methods to its own sourceChris Robinson2020-03-201-1/+1
|
* Add a helper to wait for the device mixChris Robinson2020-03-031-12/+5
|
* Use an intrusive_ptr for the device's HrtfStoreChris Robinson2020-03-011-2/+0
|
* Use real-time priority by defaultChris Robinson2020-02-261-8/+3
|
* Remove unnecessary locks now that the mixer doesn't require oneChris Robinson2020-02-261-3/+0
|
* Make the source's send array static instead of dynamicChris Robinson2020-02-251-18/+12
|
* Ignore VoiceChange objects while disconnectedChris Robinson2020-02-241-1/+25
| | | | | And try to improve ALvoice/VoiceChange handling when attempting to recover a lost device.
* Remove a couple unnecessary type aliasesChris Robinson2020-02-221-1/+1
|
* Use an array of ALvoice pointers for the active voicesChris Robinson2020-02-211-26/+61
| | | | | | This allows growing the array atomically with the mixer since the ALvoice objects themselves don't move, and a new larger array of them can be swapped in without blocking the mixer.
* Asynchronously stop voices if its source is being deletedChris Robinson2020-02-201-0/+26
|
* Add AL_SOFTX_callback_buffer to the extension listChris Robinson2020-02-191-0/+4
|
* Workaround a 32-bit GCC/MinGW TLS bugChris Robinson2020-02-181-16/+22
|
* Stub out an interface for a callback-driven bufferChris Robinson2020-02-161-0/+5
|
* Fix unreachable code warningAleš Gajdacz2020-02-081-1/+0
|
* Only sort active effect slots as neededChris Robinson2020-01-181-1/+7
|
* Make CreateRingBuffer a static RingBuffer methodChris Robinson2020-01-101-1/+1
|
* Avoid auto-releasing containers for the global device listChris Robinson2020-01-071-24/+30
| | | | | | If any are left open at process shutdown, it may try to clean them up, and subsequently close the device. This is dangerous to do at process exit, so don't. The app should have closed the device(s) prior to exiting anyway
* Finalize AL_SOFT_bformat_exChris Robinson2020-01-051-1/+8
|
* Combine identical arraysChris Robinson2020-01-041-13/+3
|
* Handle downmixing for mono outputChris Robinson2019-12-291-1/+10
|
* Make the new direct channel remix extension publicChris Robinson2019-12-281-0/+4
|
* Handle padding between device sample framesChris Robinson2019-12-211-1/+1
| | | | | | | | 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.
* Use size_t for the compressor channel countChris Robinson2019-12-211-4/+4
| | | | And general cleanup of the compressor
* Use a standard bool typeChris Robinson2019-12-191-31/+31
|
* Remix missing channels with direct channels enabledChris Robinson2019-12-191-5/+59
| | | | Instead of dropping them.
* Fully reset the voice when updating the deviceChris Robinson2019-12-051-0/+52
|
* Add an interface to set a B-Format buffer's layout and scalingChris Robinson2019-12-021-0/+1
|
* Resample HRIRs when loadingChris Robinson2019-11-281-26/+2
|
* Rework HRTF enuemration so the loaded HRTFs are separateChris Robinson2019-11-281-3/+3
|
* Rename HrtfEntry to HrtfStoreChris Robinson2019-11-281-2/+2
|
* Avoid holding HRTF accumulation samples per-sourceChris Robinson2019-11-031-0/+2
| | | | | | It notably simplifies things to mix HRTF sources into an accumulation buffer together, which the Dry buffer's Ambisonic-to-HRTF decode is then added to, before being mixed to the Real output.
* Avoid static constexpr for arrays iterated over at run-timeChris Robinson2019-10-251-3/+3
|
* Catch exceptions from backend start callsChris Robinson2019-10-091-11/+24
|
* Use exceptions for backend open failuresChris Robinson2019-10-071-22/+10
|
* Put the pragma defines in a separate headerChris Robinson2019-10-071-1/+2
|
* Avoid duplicate structsChris Robinson2019-10-051-1/+1
|
* Clean up some unnecessary includesChris Robinson2019-10-021-1/+4
|
* Remove an unnecessary functionChris Robinson2019-10-011-9/+5
|
* Silence an MSVC warningChris Robinson2019-09-281-1/+5
|
* Enable and fix some more warningsChris Robinson2019-09-181-15/+18
|
* Add and use custom string types and functionsChris Robinson2019-09-161-35/+43
|
* Clean up the spaghetti mess in alcCaptureSamplesChris Robinson2019-09-151-7/+19
|
* Return and pass more appropriate types for backendsChris Robinson2019-09-151-4/+5
|
* Enable and fix more warningsChris Robinson2019-09-141-4/+4
|
* Fix some more implicit conversions noted by GCCChris Robinson2019-09-141-15/+19
|