summaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of the remaining min/max usageChris Robinson2011-08-161-1/+1
|
* Use mini/maxi/clampi and minu/maxu/clampu to replace min/max callsChris Robinson2011-08-161-10/+10
|
* Use ARM Neon vector ops to apply HRTFs when availableChris Robinson2011-08-111-7/+48
|
* Scale the delay down once for the post-stepping mix loopChris Robinson2011-07-171-4/+6
|
* Fade between HRTF coefficients, to reduce noise from sudden changesChris Robinson2011-07-161-9/+68
|
* Use the correct send slot when mixingChris Robinson2011-07-111-2/+2
|
* Store and use the send slot in the source paramsChris Robinson2011-07-051-10/+10
|
* Scale the WetGain parameter directly instead of on each applicationChris Robinson2011-07-051-8/+6
|
* Properly handle input samples for changes with the FIR coefficientsChris Robinson2011-07-031-28/+25
| | | | | | This makes sure previously processed samples are not changed due to changes in the FIR filter. It also applies the coefficients in ascending order with the values, to improve caching.
* Get rid of a couple typedefsChris Robinson2011-07-021-3/+3
|
* Select the mixer during a source updateChris Robinson2011-06-251-24/+50
|
* Use separate lines for HRTF history and valuesChris Robinson2011-06-171-29/+26
|
* Use a minimum phase HRTF data setChris Robinson2011-06-031-32/+40
| | | | This reduces the coefficient size from 128 down to 32, with a set of delays
* Multiply the history offset in the filtering funcitonsChris Robinson2011-05-181-6/+6
|
* Avoid looking in the buffer queue to find the frame sizeChris Robinson2011-05-181-15/+1
|
* Make mixers channel-count agnosticChris Robinson2011-05-171-221/+51
| | | | As a result, this combines/removes a bunch of mixers
* Move the channel loop to the outside of the sample mixing loopChris Robinson2011-05-171-75/+53
|
* Use function pointers to call the source mixerChris Robinson2011-05-061-99/+52
|
* Use signed samples for 8-bit storageChris Robinson2011-05-051-57/+56
|
* Combine the mono and multi-channel mixer templatesChris Robinson2011-05-031-314/+51
|
* Use the same filters for mono sources and multi-channelChris Robinson2011-05-031-12/+12
|
* Mark some mixer pointers as restrictedChris Robinson2011-05-021-27/+27
|
* Add casts to silence some warningsChris Robinson2011-05-021-2/+2
|
* Use a pointer-to-arrays for the local HRTF coefficientsChris Robinson2011-05-021-8/+8
|
* Implement HRTF mixers for multi-channel sourcesChris Robinson2011-05-021-12/+269
|
* Use flags instead of separate boolsChris Robinson2011-05-011-1/+1
|
* Add an HRTF filter for mono sourcesChris Robinson2011-05-011-2/+174
| | | | | | | | | | The data is based on the KEMAR HRTF data provided by MIT, which can be found at <http://sound.media.mit.edu/resources/KEMAR.html>. The compact measurements were used. See hrtf_tables.inc for more information. The filter is only available for stereo output, using a 44100hz playback rate. Note also that it currently only applies to mono sounds, and the cf_level and head_dampen config options are ignored while it is active.
* Fix looping on loop pointsChris Robinson2011-02-061-7/+12
|
* Avoid using a variable for array sizes and const variable initializationChris Robinson2011-01-231-5/+5
|
* Fix loop handling when traversing the buffer queue backwardsChris Robinson2011-01-231-3/+3
|
* Be consistent with variable name useChris Robinson2010-12-091-9/+9
|
* Combine stereo and multi-channel templatesChris Robinson2010-12-091-181/+13
|
* Use a matrix when rendering to the dry bufferChris Robinson2010-12-091-36/+37
|
* Use simple loops instead of several explicit lines for the mono mixerChris Robinson2010-12-091-24/+6
|
* Be a bit more generic with the multi-channel mixer loopsChris Robinson2010-12-091-77/+73
|
* Rename OUTPUTCHANNELS to something more descriptiveChris Robinson2010-12-011-9/+9
|
* Reorder some parameters for consistencyChris Robinson2010-11-291-1/+1
|
* Store double formats as floatChris Robinson2010-11-281-46/+0
| | | | | The mixer will cut it down to float anyway, so it's unnecessary and needlessly creates more mixer functions
* Rename some stuff for consistencyChris Robinson2010-11-281-3/+3
|
* Don't store the internal format in the bufferChris Robinson2010-11-281-1/+1
| | | | The type and channel config are good enough
* Support rear formats directly in the mixerChris Robinson2010-11-271-0/+23
|
* Support 64-bit double buffers directlyChris Robinson2010-11-271-0/+42
|
* Use enums when selecting the mixerChris Robinson2010-11-261-29/+34
|
* Avoid some more code duplicationChris Robinson2010-11-261-36/+44
|
* Properly clamp high pitch valuesChris Robinson2010-11-261-17/+0
|
* Subtract the fractional position separatelyChris Robinson2010-11-261-1/+2
|
* Rename some variables to be clearerChris Robinson2010-11-261-61/+62
|
* Make the buffer padding size dependent on the resamplerChris Robinson2010-11-261-15/+20
|
* Convert a few divisions to multiplicationsChris Robinson2010-11-261-6/+7
|
* Make a FRACTIONONE macro, and use itChris Robinson2010-11-261-8/+8
|