Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid checking DeferUpdates for each source state change | Chris Robinson | 2016-08-08 | 1 | -8/+24 |
| | |||||
* | Use al_calloc/al_free in more places | Chris Robinson | 2016-08-03 | 2 | -9/+9 |
| | |||||
* | Add 'restrict' to another parameter | Chris Robinson | 2016-08-03 | 2 | -2/+2 |
| | |||||
* | Don't store the looping state in the voice | Chris Robinson | 2016-07-31 | 2 | -13/+22 |
| | | | | | Certain operations on the buffer queue depend on the loop state to behave properly, so it should not be deferred until the async voice update occurs. | ||||
* | Remove DevFmtBFormat3D, which is covered by DevFmtAmbi1 | Chris Robinson | 2016-07-31 | 1 | -1/+1 |
| | |||||
* | Add an option to specify the ambisonic output configuration | Chris Robinson | 2016-07-31 | 1 | -0/+12 |
| | |||||
* | Add a stand-alone upsampler for higher-order ambisonic oputput | Chris Robinson | 2016-07-30 | 1 | -1/+4 |
| | |||||
* | Add a config to output first-, second-, or third-order ambisonics | Chris Robinson | 2016-07-29 | 1 | -0/+3 |
| | | | | | | | | | Currently incomplete, as second- and third-order output will not correctly handle B-Format input buffers. A standalone up-sampler will be needed, similar to the high-quality decoder. Also, output is ACN ordering with SN3D normalization. A config option will eventually be provided to change this if desired. | ||||
* | Avoid a NULL deref when creating 0 auxiliary effect slots | Chris Robinson | 2016-07-26 | 1 | -12/+9 |
| | |||||
* | Remove the last use of ALfilterState_processSingle | Chris Robinson | 2016-07-26 | 2 | -18/+0 |
| | |||||
* | Remove broken autowah effect code | Chris Robinson | 2016-07-26 | 5 | -21/+0 |
| | | | | | It's been disabled forever, and I have no idea how to make it work properly. Better to just redo it when making something that works. | ||||
* | Add some more restrict keywords | Chris Robinson | 2016-07-26 | 1 | -2/+2 |
| | |||||
* | Rename input_gain to b0 | Chris Robinson | 2016-07-26 | 2 | -4/+3 |
| | |||||
* | Increase the default thunk array size | Chris Robinson | 2016-07-25 | 1 | -1/+1 |
| | | | | | This value should be enough to hold IDs for most apps without needing to reallocate it, while not being unnecessarily large (4KB). | ||||
* | Make a MAX_AMBI2D_COEFFS macro instead of a magic number | Chris Robinson | 2016-07-17 | 1 | -1/+8 |
| | |||||
* | Modify bs2b_cross_feed to do multiple samples at once | Chris Robinson | 2016-07-13 | 1 | -36/+5 |
| | |||||
* | Move the input channel array out of the DirectParams and SendParams | Chris Robinson | 2016-07-13 | 3 | -18/+16 |
| | |||||
* | Store the voice output buffers separate from the params | Chris Robinson | 2016-07-11 | 2 | -6/+10 |
| | |||||
* | Reorder some source fields | Chris Robinson | 2016-07-07 | 2 | -24/+27 |
| | |||||
* | Avoid using memcpy to copy a single struct | Chris Robinson | 2016-07-06 | 2 | -17/+15 |
| | |||||
* | Remove a slightly outdated comment | Chris Robinson | 2016-07-06 | 1 | -1/+0 |
| | |||||
* | Remove the VirtOut buffer alias | Chris Robinson | 2016-07-05 | 1 | -6/+3 |
| | |||||
* | Use separate arrays for UIntMap keys and values | Chris Robinson | 2016-07-04 | 5 | -10/+10 |
| | |||||
* | Ensure voices has been updated once before mixing them | Chris Robinson | 2016-06-16 | 1 | -1/+8 |
| | | | | | | | | Sometimes the mixer is temporarily prevented from applying updates, when multiple sources need to be updated simultaneously for example, but does not prevent mixing. If the mixer runs during that time and a voice was just started, it would've mixed the voice without any internal properties being set for it. | ||||
* | Rename MaxNoOfSources for consistency | Chris Robinson | 2016-06-08 | 1 | -1/+1 |
| | |||||
* | Only define 8 HRTF filter states and params for the device | Chris Robinson | 2016-06-04 | 1 | -2/+2 |
| | | | | | It will only be used with a cube channel setup, so there's no need to have one for every possible output channel. | ||||
* | Add property queries to get the device latency with the clock | Chris Robinson | 2016-06-03 | 1 | -0/+2 |
| | |||||
* | Remove some unnecessary volatile keywords | Chris Robinson | 2016-06-03 | 2 | -33/+33 |
| | |||||
* | Make a function static | Chris Robinson | 2016-06-01 | 2 | -7/+7 |
| | |||||
* | Use a macro to specify the ambisonic periphonic channel mask | Chris Robinson | 2016-06-01 | 1 | -1/+10 |
| | |||||
* | Use SSE for applying the HQ B-Format decoder matrices | Chris Robinson | 2016-05-31 | 1 | -0/+3 |
| | |||||
* | Hold the effectslot map lock while handling it | Chris Robinson | 2016-05-29 | 3 | -2/+38 |
| | |||||
* | Use a linked list for active effect slots | Chris Robinson | 2016-05-29 | 3 | -37/+34 |
| | |||||
* | Avoid the mixer lock when getting the plain source offset | Chris Robinson | 2016-05-28 | 1 | -11/+15 |
| | | | | i.e. without the latency | ||||
* | Avoid an explicit mixer lock for getting the source offset and latency | Chris Robinson | 2016-05-28 | 1 | -27/+72 |
| | | | | | The only mixer locking involved is with the backend, as determined by it's ability to get the device clock and latency atomically. | ||||
* | Change the backend getLatency method to return the clock time too | Chris Robinson | 2016-05-28 | 1 | -3/+8 |
| | | | | | | This will also allow backends to better synchronize the tracked clock time with the device output latency, without necessarily needing to lock if the backend API can allow for it. | ||||
* | Use the backend lock for the effectstate's deviceUpdate call | Chris Robinson | 2016-05-27 | 1 | -8/+4 |
| | |||||
* | Use a specific lock for the backend's stop/reset/play calls | Chris Robinson | 2016-05-27 | 1 | -0/+2 |
| | | | | | This helps protect against the device changing unexpectedly from multiple threads, instead of using the global list/library lock. | ||||
* | Remove a couple unneeded functions | Chris Robinson | 2016-05-25 | 1 | -4/+7 |
| | |||||
* | Avoid using realloc in a number of places | Chris Robinson | 2016-05-21 | 3 | -13/+27 |
| | |||||
* | Make the source position calues atomic | Chris Robinson | 2016-05-19 | 2 | -21/+22 |
| | |||||
* | Avoid redundantly storing distance model settings | Chris Robinson | 2016-05-17 | 5 | -26/+10 |
| | |||||
* | Use floats for the listener transforms | Chris Robinson | 2016-05-16 | 2 | -26/+1 |
| | |||||
* | Don't store the source's update method with the voice | Chris Robinson | 2016-05-16 | 3 | -10/+0 |
| | |||||
* | Avoid separate updates to sources that should apply together | Chris Robinson | 2016-05-15 | 3 | -3/+18 |
| | |||||
* | Avoid duplicate effect state objects in the freelist | Chris Robinson | 2016-05-15 | 1 | -12/+25 |
| | | | | | | | If an unapplied update was superceded, it would be placed in the freelist with its effect state object intact. This would cause another update with the same effect state object to be placed into the freelist as well, or worse, cause it to get deleted while in use when the container had its effect state cleared. | ||||
* | Avoid using a flag to specify if the effect state needs to be updated | Chris Robinson | 2016-05-15 | 2 | -13/+10 |
| | | | | | This fixes a potential missed state change if an update with a new state got replaced with one that doesn't. | ||||
* | Provide asynchronous property updates for sources | Chris Robinson | 2016-05-14 | 7 | -175/+474 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This necessitates a change in how source updates are handled. Rather than just being able to update sources when a dependent object state is changed (e.g. a listener gain change), now all source updates must be proactively provided. Consequently, apps that do not utilize any deferring (AL_SOFT_defer_updates or alcSuspendContext/alcProcessContext) may utilize more CPU since it'll be filling out more update containers for the mixer thread to use. The upside is that there's less blocking between the app's calling thread and the mixer thread, particularly for vectors and other multi-value properties (filters and sends). Deferring behavior when used is also improved, since updates that shouldn't be applied yet are simply not provided. And when they are provided, the mixer doesn't have to ignore them, meaning the actual deferring of a context doesn't have to synchrnously force an update -- the process call will send any pending updates, which the mixer will apply even if another deferral occurs before the mixer runs, because it'll still be there waiting on the next mixer invocation. There is one slight bug introduced by this commit. When a listener change is made, or changes to multiple sources while updates are being deferred, it is possible for the mixer to run while the sources are prepping their updates, causing some of the source updates to be seen before the other. This will be fixed in short order. | ||||
* | Store the remaining context properties with the listener properties | Chris Robinson | 2016-05-13 | 3 | -6/+14 |
| | |||||
* | Get rid of an unnecessary copy of ALeffectProps | Chris Robinson | 2016-05-13 | 1 | -3/+2 |
| |