aboutsummaryrefslogtreecommitdiffstats
path: root/core/voice.h
Commit message (Collapse)AuthorAgeFilesLines
* Use std::byte instead of a custom al::byteChris Robinson2023-05-041-3/+2
|
* Replace al::optional with std::optionalChris Robinson2023-05-041-2/+2
|
* Remove an unused variableChris Robinson2023-04-071-5/+0
|
* Track the callback buffer base separatelyChris Robinson2023-02-181-0/+1
| | | | | Instead of recalculating it all the time, even for sources that don't use callback buffers.
* Support IMA4 ADPCM as a mixing voice formatChris Robinson2023-02-141-2/+4
|
* Separate decoding and mixing from resamplingChris Robinson2023-02-121-0/+2
|
* Add the ability to start a voice at a particular timeChris Robinson2022-11-031-1/+5
|
* Handle negative voice positionsChris Robinson2022-11-021-1/+1
| | | | | | This allows a voice/source to start with a delay, more accurately than simply waiting to call alSourcePlay. The delay is affected by pitch and velocity, making it useful to simulate distant sounds that take time to be heard.
* Rename some variables to more clearly indicate their meaningChris Robinson2022-10-281-1/+1
|
* Use proper array sizes for more gainsChris Robinson2022-08-151-2/+2
|
* Parameterize the UHJ filter lengthChris Robinson2022-08-071-1/+1
|
* Use a member variable to specify the decoder paddingChris Robinson2022-05-171-0/+1
|
* Use virtual functions for the decoderChris Robinson2022-05-141-2/+1
|
* Use a bitset instead of a plain uint for flagsChris Robinson2021-12-231-8/+13
|
* Allocate voice properties in clustersChris Robinson2021-12-171-1/+1
|
* Rename Voice::mNumChannels for clarityChris Robinson2021-12-151-2/+2
|
* Add source properties for Super StereoChris Robinson2021-12-151-0/+1
| | | | | When playing a stereo format, enabling Super Stereo causes the source to behave as a B-Format source, with a variable width control.
* Add an internal Super Stereo formatChris Robinson2021-12-111-0/+1
| | | | | | | It's not available as an AL buffer format (yet) since I'm not sure how to expose it. Internally it seems fine as a separate channel configuration, but because OpenAL combines the channel configuration and sample type, a flag may work better there.
* Improve the 2-channel UHJ responseChris Robinson2021-12-091-1/+1
| | | | | | This attempts to correct for the differences needed for 2-channel UHJ's shelf filters given the output shelf filters. It's far from ideal, but better than nothing.
* Don't allocate full buffer lines in each voiceChris Robinson2021-06-211-4/+2
| | | | | | There's now effectively a 16-channel limit for buffers (as determined by the number of elements in DeviceBase::mSampleData). Any more than that are ignored when mixing.
* Avoid mixing extraneous channelsChris Robinson2021-06-211-0/+1
|
* Move BufferStorage and Voice to coreChris Robinson2021-04-271-0/+270