Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use an enum class for SpatializeMode | Chris Robinson | 2020-05-21 | 2 | -2/+2 |
| | |||||
* | Change a couple functions into member functions | Chris Robinson | 2020-05-10 | 2 | -64/+62 |
| | |||||
* | Fix up some more uses of [AL[C]]void | Chris Robinson | 2020-04-28 | 7 | -82/+82 |
| | |||||
* | Shorten the name of format types | Chris Robinson | 2020-04-28 | 1 | -2/+2 |
| | |||||
* | Use global placement new for AsyncEvent | Chris Robinson | 2020-04-24 | 2 | -1/+5 |
| | |||||
* | Avoid using some more AL types | Chris Robinson | 2020-04-23 | 1 | -24/+24 |
| | |||||
* | Fix the source ID for a source voice stopped from deletion | Chris Robinson | 2020-04-21 | 1 | -1/+1 |
| | |||||
* | Remove another unnecessary return value | Chris Robinson | 2020-04-16 | 1 | -8/+3 |
| | |||||
* | Avoid inlining some potentially costly calls | Chris Robinson | 2020-04-14 | 2 | -1/+10 |
| | |||||
* | Throw exceptions for errors in the effect getters/setters | Chris Robinson | 2020-04-10 | 1 | -33/+25 |
| | |||||
* | Add an effect_exception for handling effect properties | Chris Robinson | 2020-04-10 | 1 | -39/+57 |
| | |||||
* | Use a common base for a couple exceptions | Chris Robinson | 2020-04-10 | 1 | -24/+8 |
| | |||||
* | Report invalid filter values | Chris Robinson | 2020-04-10 | 1 | -5/+5 |
| | |||||
* | Add missing include | Chris Robinson | 2020-04-10 | 1 | -1/+2 |
| | |||||
* | Use exceptions for filter errors | Chris Robinson | 2020-04-09 | 2 | -128/+188 |
| | |||||
* | Clean up some more unnecessary uses of AL types | Chris Robinson | 2020-04-08 | 5 | -67/+67 |
| | |||||
* | Add an extension to change a buffer's unpack ambisonic order | Chris Robinson | 2020-04-04 | 1 | -0/+13 |
| | |||||
* | Track a buffer's ambisonic order | Chris Robinson | 2020-04-04 | 3 | -21/+42 |
| | |||||
* | Add an ambisonic order parameter to the buffer channel count | Chris Robinson | 2020-04-03 | 2 | -19/+18 |
| | |||||
* | Remove a couple outdated comments | Chris Robinson | 2020-04-03 | 1 | -2/+2 |
| | |||||
* | Rename ALvoice and related structs to Voice | Chris Robinson | 2020-03-28 | 1 | -45/+45 |
| | |||||
* | Get rid of MAX_INPUT_CHANNELS | Chris Robinson | 2020-03-28 | 2 | -8/+10 |
| | |||||
* | Avoid AL[C]boolean for internal use | Chris Robinson | 2020-03-28 | 6 | -18/+18 |
| | |||||
* | Avoid some extraneous uses of AL type aliases | Chris Robinson | 2020-03-25 | 1 | -88/+88 |
| | |||||
* | Dynamically allocate voice channel data | Chris Robinson | 2020-03-25 | 1 | -13/+13 |
| | | | | | | | 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. | ||||
* | Clean up ALfilter some | Chris Robinson | 2020-03-23 | 2 | -140/+149 |
| | | | | | | Use inline methods instead of macros Fix indentation Add some consts | ||||
* | Add a macro to disable class-specific new/delete | Chris Robinson | 2020-03-23 | 6 | -0/+13 |
| | |||||
* | Use inline initialization more for sources | Chris Robinson | 2020-03-23 | 2 | -89/+46 |
| | |||||
* | Move the FPUCtl methods to its own source | Chris Robinson | 2020-03-20 | 1 | -1/+1 |
| | |||||
* | Fix voices being forced to update without valid properties | Chris Robinson | 2020-03-04 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | When starting a voice, the source ID was set before its first update struct was provided, creating a small window where a listener or effect slot update could force a voice to update without it having any valid properties to update with. Supplying the update struct first would create a different race, where the mixer could see a voice without a source but with an update struct, causing the update struct to be 'freed' without being applied. The fix here is to provide the update struct before setting the source ID, and change the mixer to ignore update structs for voices without a source ID. This can pseudo-orphan the updates that get set on a voice just as it stops, leaving the struct unusable until the voice is used again, or the voice gets deleted which will clear it. But it allows the update struct to stay in place and get applied once the voice gets a source ID. | ||||
* | Avoid redundantly setting voice members | Chris Robinson | 2020-03-04 | 1 | -26/+24 |
| | |||||
* | Don't change flags after InitVoice | Chris Robinson | 2020-03-04 | 1 | -11/+9 |
| | |||||
* | Use a new voice state to indicate a pending source offset change | Chris Robinson | 2020-03-04 | 1 | -6/+7 |
| | |||||
* | Avoid unnecessarily reclearing some variables | Chris Robinson | 2020-03-03 | 1 | -51/+36 |
| | |||||
* | Add a helper to wait for the device mix | Chris Robinson | 2020-03-03 | 2 | -22/+13 |
| | |||||
* | Simplify getting a voice for a new source offset | Chris Robinson | 2020-02-28 | 1 | -17/+21 |
| | |||||
* | Use a VoiceChange object to change the offset of a playing source | Chris Robinson | 2020-02-26 | 1 | -61/+138 |
| | |||||
* | Rename the voice's PendingStop to PendingChange | Chris Robinson | 2020-02-26 | 1 | -6/+6 |
| | |||||
* | Move voice initialization to a separate function | Chris Robinson | 2020-02-26 | 1 | -97/+103 |
| | |||||
* | Avoid storing the source offset when it's just read and reset | Chris Robinson | 2020-02-26 | 1 | -27/+27 |
| | |||||
* | Make the source's send array static instead of dynamic | Chris Robinson | 2020-02-25 | 2 | -17/+10 |
| | |||||
* | Handle playing voices after disconnection | Chris Robinson | 2020-02-24 | 1 | -5/+11 |
| | |||||
* | Improve searching for the next voice when playing multiple sources | Chris Robinson | 2020-02-24 | 1 | -4/+5 |
| | | | | | Instead of searching from the beginning of the voice list for each source, just continue searching from the last source's voice. | ||||
* | Ignore VoiceChange objects while disconnected | Chris Robinson | 2020-02-24 | 1 | -0/+9 |
| | | | | | And try to improve ALvoice/VoiceChange handling when attempting to recover a lost device. | ||||
* | Simplify replaying a source | Chris Robinson | 2020-02-23 | 1 | -6/+3 |
| | |||||
* | Fix voice allocation increase amount | Chris Robinson | 2020-02-22 | 1 | -1/+1 |
| | |||||
* | Remove a couple unnecessary type aliases | Chris Robinson | 2020-02-22 | 1 | -2/+2 |
| | |||||
* | Use an array of ALvoice pointers for the active voices | Chris Robinson | 2020-02-21 | 1 | -25/+34 |
| | | | | | | 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. | ||||
* | Set the voice's property update after the source ID | Chris Robinson | 2020-02-21 | 1 | -3/+3 |
| | | | | Otherwise the mixer has a chance to throw it out before realizing it's needed. | ||||
* | Handle playing and pausing with VoiceChanges | Chris Robinson | 2020-02-21 | 1 | -71/+71 |
| |