aboutsummaryrefslogtreecommitdiffstats
path: root/alc/voice.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move BufferStorage and Voice to coreChris Robinson2021-04-271-869/+0
|
* Move ContextBase and VoiceChange to coreChris Robinson2021-04-271-5/+5
|
* Move async_event.h to coreChris Robinson2021-04-251-2/+2
|
* Move some functions to coreChris Robinson2021-04-251-2/+1
| | | | And clean up more includes
* More include cleanupChris Robinson2021-04-241-4/+3
|
* Move GetHFOrderScales to a more appropriate placeChris Robinson2021-04-241-2/+1
|
* Update some includesChris Robinson2021-04-241-6/+5
|
* Create a base the ALCdevice and ALCcontext structsChris Robinson2021-04-241-6/+6
| | | | | A base that contains the API-agnostic data, with ALCdevice and ALCcontext being for AL-specific data.
* Move hrtf.cpp/h to coreChris Robinson2021-04-221-1/+1
|
* Avoid passing an array of pointersChris Robinson2021-04-011-7/+1
|
* Add support for 4-channel UHJChris Robinson2021-03-311-5/+9
| | | | Also add the SOFT moniker to the new macros
* Handle 3-channel UHJ audio buffersChris Robinson2021-03-311-3/+3
|
* Decode UHJ buffers to B-Format for mixingChris Robinson2021-03-311-57/+83
| | | | | This should also have an adjustment for the shelf filter. Although it's not clear what the appropriate adjustments should be.
* Combine some duplicate codeChris Robinson2021-03-301-0/+49
|
* Don't add the resampler prepadding to the source size to loadChris Robinson2021-03-231-18/+17
|
* Load/convert samples from all channels at once for mixingChris Robinson2021-03-191-110/+126
| | | | | | | This uses a bit more memory (each voice needs to hold buffers for the deinterleaved samples of each channel, instead of just one buffer for the current channel being mixed on the device), but it will allow for handling formats that need or prefer their channels decoded together.
* Use spans instead of references to arraysChris Robinson2021-02-061-10/+11
|
* Rework fading of stopped soundsChris Robinson2021-01-271-22/+13
| | | | | | | Voices that stop and have no more accessible samples now fade out over 64 samples max. The extra loaded samples are also prevented from moving away from 0 amplitude. Paused voices that still have samples will still fade out over the whole mix.
* Use an AL-specific buffer queue item struct for sourcesChris Robinson2021-01-251-18/+11
|
* Store the callback in the buffer list itemChris Robinson2021-01-241-60/+55
|
* Store buffer info in the queue entryChris Robinson2021-01-241-18/+16
|
* Avoid declaring some variables multiple timesChris Robinson2021-01-211-6/+7
|
* Quickly fade out samples of a stopping voiceChris Robinson2021-01-081-0/+20
| | | | | Rather than linearly fading out the mix over the mixing update, logarithmically fade out the post-resampled samples by approx -60dB per millisecond.
* Return non-const from the resampler functionChris Robinson2021-01-021-14/+4
|
* Move cpu_caps and fpu_ctrl to coreChris Robinson2020-12-311-1/+1
|
* Use more constexpr variables instead of macrosChris Robinson2020-12-251-1/+1
|
* Move logging to coreChris Robinson2020-12-171-1/+1
|
* Move AsyncEvent to a separate headerChris Robinson2020-12-161-1/+1
|
* Use a separate enum for the VoiceChange stateChris Robinson2020-12-161-1/+2
|
* Remove unneeded includesChris Robinson2020-12-151-2/+1
|
* Move fmt_traits to coreChris Robinson2020-12-131-1/+1
|
* Move the mixer functions to coreChris Robinson2020-12-121-2/+2
|
* Move some HRTF definitions to a separate headerChris Robinson2020-12-121-0/+1
|
* Don't modify the IR size of loaded HRTFsChris Robinson2020-12-111-1/+1
|
* Change some macros into constexpr variablesChris Robinson2020-12-041-2/+2
|
* Move the filters to coreChris Robinson2020-12-041-3/+3
|
* Avoid a global MAX_PITCH macroChris Robinson2020-12-041-5/+0
|
* Change a couple macros into constexpr variablesChris Robinson2020-11-281-14/+14
|
* Move some sources to a separate directoryChris Robinson2020-11-271-1/+1
| | | | To begin separating the ALC interfaces from internal ones.
* Avoid AL types in the mixerChris Robinson2020-11-201-38/+35
|
* Disassociate internal voice enums from AL enumsChris Robinson2020-11-201-2/+2
|
* Use BufferStorage for the buffer queueChris Robinson2020-11-191-18/+18
|
* Put the loop start/end in BufferStorageChris Robinson2020-11-191-18/+18
|
* Replace the mixer fraction macros with constexpr variablesChris Robinson2020-10-211-10/+10
|
* Change some more macros into constexpr variablesChris Robinson2020-10-211-14/+13
|
* Add missing linear resampler to the option setting listChris Robinson2020-09-241-0/+1
|
* Use a separate structure for buffer storageChris Robinson2020-08-281-18/+18
|
* De-duplicate LoadSampleArray and FmtTypeTraitsChris Robinson2020-08-261-131/+8
|
* Simplify mixer buffer size saturation handlingChris Robinson2020-07-231-6/+6
|
* Don't round up the dst size when the src size was saturatedChris Robinson2020-06-291-1/+1
|