aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/modulator.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove another duplicate functionChris Robinson2018-09-191-2/+2
|
* Limit the normalized filter frequency to under halfChris Robinson2018-07-211-1/+1
| | | | | Nearing half, weird things can start happening with the filters' generated sine and cosine values.
* Improve handling of 0hz ring modulator frequencyChris Robinson2018-07-211-5/+13
|
* Clamp the maximum normalized reference frequency tooChris Robinson2018-06-031-1/+1
|
* Use a higher normalized frequency limit for the ring modulatorChris Robinson2018-06-021-1/+1
|
* Use the biquad high-pass in the ring modulatorChris Robinson2018-05-311-10/+6
|
* Slightly simplify the modulator square wave generatorChris Robinson2018-05-311-3/+3
|
* EFX: Ring modulator fixesRaulshc2018-05-311-3/+3
| | | Change from unipolar to bipolar carrier signal in the Ring modulator effect.
* Avoid extra sample copies and storage in the modulator effectChris Robinson2018-05-291-7/+6
|
* Use fastf2i instead of manual rounding in another placeChris Robinson2018-05-291-1/+2
|
* Add a specific function for truncating float-to-int conversionsChris Robinson2018-05-031-2/+1
|
* Rename BiquadState to BiquadFilterChris Robinson2018-04-041-4/+4
|
* Rename ALfilterState/Type to BiquadState/TypeChris Robinson2018-03-231-4/+4
|
* Move the filter implementation to a separate directoryChris Robinson2018-03-221-1/+1
|
* Only calculate the modulation samples once for all 4 channelsChris Robinson2018-03-081-19/+25
|
* Simplify modulator effect index updatingChris Robinson2018-03-081-3/+2
|
* Avoid AL prefix on internal effect state factory typesChris Robinson2018-02-281-8/+8
| | | | Also avoid using the generic V/V0 macros for them
* Construct error messages using parameterized valuesChris Robinson2018-01-251-7/+7
|
* Provide messages for the remaining AL errorsChris Robinson2018-01-241-19/+11
|
* Use MixSamples for the dedicated and ring modulator effect outputChris Robinson2018-01-111-32/+27
|
* Avoid using macros to access anonymous structuresChris Robinson2018-01-111-1/+1
|
* Pass the context to the auxiliary effect update methodChris Robinson2017-09-211-8/+9
|
* Remove the fastf2u conversion functionChris Robinson2017-06-271-1/+1
|
* Change some ALuint parameters to ALsizeiChris Robinson2017-05-021-16/+16
|
* Reorder filter coefficientsChris Robinson2016-12-211-2/+2
|
* Call ALfilterState_processC directlyChris Robinson2016-09-121-1/+0
| | | | | | It's the only implementation currently, so there's no point to having it stored as a function pointer in the filter struct. Even if there were SIMD versions, it'd be a global selection, not per-instance.
* Use a predefined identity matrixChris Robinson2016-09-051-10/+2
|
* Add a ref count to ALeffectStateChris Robinson2016-08-251-13/+24
| | | | | This is mostly just reorganizing the effects to call the Construct method which initializes the ref count.
* Rename input_gain to b0Chris Robinson2016-07-261-1/+1
|
* Get rid of an unnecessary copy of ALeffectPropsChris Robinson2016-05-131-5/+5
|
* Provide (mostly) lockless updates for effect slotsChris Robinson2016-05-121-7/+8
| | | | | | | | | | | | | | | | | 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.
* More directly map coefficients for ambisonic mixing buffersChris Robinson2016-04-151-2/+2
| | | | | | Instead of looping over all the coefficients for each channel with multiplies, when we know only one will have a non-0 factor for ambisonic mixing buffers, just index the one with a non-0 factor.
* Include any first-order scaling in the FOAOut coefficientsChris Robinson2016-03-251-6/+5
|
* Add a specific output for first-order sourcesChris Robinson2016-03-221-1/+4
|
* Organize the dry buffer properties into a structChris Robinson2016-03-091-2/+2
|
* Rename ComputeBFormatGains to ComputeFirstOrderGainsChris Robinson2016-01-311-2/+2
|
* Make the modulator effect multichannelChris Robinson2016-01-291-22/+41
|
* Use separate modulator functions only for the waveformChris Robinson2016-01-291-56/+42
|
* Pass a pointer to the input samples array for effect processingChris Robinson2016-01-271-4/+4
|
* Separate calculating ambisonic coefficients from the panning gainsChris Robinson2016-01-251-2/+2
|
* Reorder filterstate propertiesChris Robinson2016-01-231-6/+5
|
* Rename F_2PI to F_TAUChris Robinson2015-09-131-2/+2
|
* Do up to 256 samples at a time with multi-step loopsChris Robinson2014-12-181-2/+2
|
* Pas the output device channel count to ALeffectState::processChris Robinson2014-11-071-7/+7
|
* Use a separate macro for the max output channel countChris Robinson2014-11-071-2/+2
|
* Use a method to set omni-directional channel gainsChris Robinson2014-11-041-3/+2
|
* Avoid taking the square-root of the ambient gainChris Robinson2014-10-111-1/+1
| | | | | | Although it is more correct for preserving the apparent volume, the ambisonics- based panning does not work on the same power scale, making it louder by comparison.
* Combine some fields into a structChris Robinson2014-09-101-1/+1
|
* Update COPYING to the latest ↵François Cami2014-08-181-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 a void* for the effect state Delete method paramChris Robinson2014-03-211-5/+2
|