Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Properly load the effect state pointer from the property container | Chris Robinson | 2016-05-13 | 1 | -2/+6 | |
| | ||||||
* | Hold the effect and filter maps while handling effects and filters | Chris Robinson | 2016-05-12 | 1 | -1/+7 | |
| | ||||||
* | Avoid updating the effect state object if it's not changed | Chris Robinson | 2016-05-12 | 1 | -13/+21 | |
| | ||||||
* | Provide (mostly) lockless updates for effect slots | Chris Robinson | 2016-05-12 | 1 | -50/+116 | |
| | | | | | | | | | | | | | | | | | Similar to the listener, separate containers are provided atomically for the mixer thread to apply updates without needing to block, and a free-list is used to reuse container objects. A couple things to note. First, the lock is still used when the effect state's deviceUpdate method is called to prevent asynchronous calls to reset the device from interfering. This can be fixed by using the list lock in ALc.c instead. Secondly, old effect states aren't immediately deleted when the effect type changes (the actual type, not just its properties). This is because the mixer thread is intended to be real-time safe, and so can't be freeing anything. They are cleared away when updates reuse the container they were kept in, and they don't incur any extra processing cost, but there may be cases where the memory is kept around until the effect slot is deleted. | |||||
* | Use a lockless method for updating listener and context properties | Chris Robinson | 2016-05-11 | 1 | -2/+5 | |
| | | | | | | | | | | | This uses a separate container to provide the relevant properties to the internal update method, using atomic pointer swaps. A free-list is used to avoid having too many individual containers. This allows the mixer to update the internal listener properties without requiring the lock to protect against async updates. It also allows concurrent read access to the user-facing property values, even the multi-value ones (e.g. the vectors). | |||||
* | Shorten VECTOR_ITER_ macros to VECTOR_ | Chris Robinson | 2016-04-15 | 1 | -3/+3 | |
| | ||||||
* | Move the aligned malloc functions to the common lib | Chris Robinson | 2016-03-29 | 1 | -0/+2 | |
| | ||||||
* | Store the effect's output buffer in the effect state | Chris Robinson | 2016-03-17 | 1 | -0/+2 | |
| | ||||||
* | Mix to multichannel for effects | Chris Robinson | 2016-01-28 | 1 | -0/+2 | |
| | | | | | | This mixes to a 4-channel first-order ambisonics buffer. With ACN ordering and N3D scaling, this makes it easy to remain compatible with effects that only care about mono input since channel 0 is an unattenuated mono signal. | |||||
* | Update COPYING to the latest ↵ | François Cami | 2014-08-18 | 1 | -2/+2 | |
| | | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source | |||||
* | Use an ATOMIC_INIT macro instead of ATOMIC_LOAD_UNSAFE | Chris Robinson | 2014-08-03 | 1 | -1/+1 | |
| | ||||||
* | Explicitly pass the address of atomics and parameters that can be modified | Chris Robinson | 2014-07-26 | 1 | -6/+6 | |
| | ||||||
* | Use generic atomics in more places | Chris Robinson | 2014-07-22 | 1 | -4/+4 | |
| | ||||||
* | Add macros for generic atomic functionality | Chris Robinson | 2014-07-22 | 1 | -2/+2 | |
| | ||||||
* | Use VECTOR_FIND_IF instead of a manual loop | Chris Robinson | 2014-07-06 | 1 | -11/+7 | |
| | ||||||
* | Don't require pre-declaring vector types | Chris Robinson | 2014-07-06 | 1 | -6/+5 | |
| | ||||||
* | Make RefCount a non-integer type | Chris Robinson | 2014-05-14 | 1 | -2/+2 | |
| | | | | | It should only be accessed through the appropriate functions to ensure proper atomicity. | |||||
* | Insert all new effect slots into the active effect slots at once | Chris Robinson | 2014-04-10 | 1 | -26/+27 | |
| | ||||||
* | Remove the click removal buffers for auxiliary effect slots | Chris Robinson | 2014-03-23 | 1 | -2/+0 | |
| | ||||||
* | Increase the vector reserve as needed when pushing in new items | Chris Robinson | 2014-03-21 | 1 | -1/+1 | |
| | ||||||
* | Add a generic vector interface and use it for the active effect slots | Chris Robinson | 2014-03-21 | 1 | -22/+12 | |
| | ||||||
* | Use C99 inline in more places | Chris Robinson | 2013-11-04 | 1 | -0/+3 | |
| | ||||||
* | Rename VCALL and VCALL0 to V and V0 | Chris Robinson | 2013-11-02 | 1 | -4/+4 | |
| | ||||||
* | Modify how VCALL is handled | Chris Robinson | 2013-10-28 | 1 | -4/+4 | |
| | | | | | | | | | | | Now instead of specifying the arguments as a third argument to the macro, like VCALL(object,function,(arg1, arg2)); they are specified separately after the macro, like VCALL(object,function)(arg1, arg2); Also, VCALL_NOARGS has been removed in favor of VCALL0, which behaves like above but expects an empty argument list (a separate macro is needed to work around preprocessor limitations). | |||||
* | Remove al_try from alAuxEffectSlot.c | Chris Robinson | 2013-10-07 | 1 | -234/+209 | |
| | ||||||
* | Implement the Compressor effect | Chris Robinson | 2013-10-03 | 1 | -0/+1 | |
| | ||||||
* | Implement the Autowah effect. | Chris Robinson | 2013-10-03 | 1 | -0/+1 | |
| | ||||||
* | Limit the source step to 10 | Chris Robinson | 2013-07-02 | 1 | -1/+1 | |
| | | | | | | | | | This means the combination of the buffer frequency, source pitch, and doppler shift can't exceed 10x the device playback frequency. This is needed to keep the mixer from starving with a really high increment, causing small DstBufferSize values that require a lot of iterations. | |||||
* | Fix up the naming convention of effect methods | Chris Robinson | 2013-05-29 | 1 | -2/+2 | |
| | ||||||
* | Use C99's inline instead of __inline | Chris Robinson | 2013-05-28 | 1 | -1/+1 | |
| | ||||||
* | Store pointers to the getFactory funcs in the map | Chris Robinson | 2013-05-27 | 1 | -12/+15 | |
| | ||||||
* | Cleanup the ALeffectStateFactory_create methods | Chris Robinson | 2013-05-27 | 1 | -2/+2 | |
| | | | | | Get rid of the ALeffectStateFactory_create macro, and use the VCALL_NOARGS helper (requires adding the 'this' factory parameter). | |||||
* | Use generic VCALL[_NOARGS] macros instead of type-specific wrappers | Chris Robinson | 2013-05-27 | 1 | -2/+2 | |
| | ||||||
* | Use an ALeffectProps union to store the effect properties | Chris Robinson | 2013-05-25 | 1 | -14/+18 | |
| | ||||||
* | Move the AL_EFFECT_NULL state into a separate file | Chris Robinson | 2013-05-23 | 1 | -96/+1 | |
| | ||||||
* | Use restrict instead of RESTRICT | Chris Robinson | 2013-05-22 | 1 | -1/+1 | |
| | ||||||
* | Rename DELETE to DELETE_OBJ | Chris Robinson | 2013-05-21 | 1 | -5/+5 | |
| | | | | Because Windows. | |||||
* | Add a DELETE macro to help destroy objects | Chris Robinson | 2013-05-21 | 1 | -8/+5 | |
| | ||||||
* | Rename the effect state's Destroy method to Destruct | Chris Robinson | 2013-05-21 | 1 | -2/+2 | |
| | ||||||
* | Use factories to create and destroy effect states | Chris Robinson | 2013-05-21 | 1 | -36/+83 | |
| | ||||||
* | Auto-generate wrappers to upcast objects before calling user methods | Chris Robinson | 2013-05-21 | 1 | -4/+4 | |
| | ||||||
* | Use macros to help define vtables for effect states | Chris Robinson | 2013-05-21 | 1 | -23/+25 | |
| | ||||||
* | Implement distortion and equalizer effects | Chris Robinson | 2013-05-18 | 1 | -0/+4 | |
| | | | | Code provided by Mike Gorchak | |||||
* | Simplify al_try code | Chris Robinson | 2013-03-24 | 1 | -5/+5 | |
| | ||||||
* | Avoid explicitly checking each effect to create | Chris Robinson | 2013-03-19 | 1 | -53/+40 | |
| | ||||||
* | Add Chorus and Flanger effects | Chris Robinson | 2013-03-13 | 1 | -0/+10 | |
| | | | | Code provided by Mike Gorchak | |||||
* | Move the effect-specific get/set methods to where the effect is implemented | Chris Robinson | 2013-03-13 | 1 | -0/+18 | |
| | ||||||
* | Add a couple missing RESTRICTs | Chris Robinson | 2012-10-25 | 1 | -1/+1 | |
| | ||||||
* | Ensure effect slots are aligned | Chris Robinson | 2012-09-26 | 1 | -5/+5 | |
| | ||||||
* | Explicitly give the wet buffer 1 channel | Chris Robinson | 2012-09-16 | 1 | -6/+6 | |
| |