aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
Commit message (Collapse)AuthorAgeFilesLines
* Store the current buffer queue item, rather than played buffer countChris Robinson2014-05-101-22/+11
|
* Avoid checking the previous buffer multiple timesChris Robinson2014-05-101-9/+9
|
* Remove an unnecessary conditionalChris Robinson2014-03-231-7/+1
|
* Remove the last bits of the predictive sample processingChris Robinson2014-03-231-3/+1
|
* Remove the click removal buffers for auxiliary effect slotsChris Robinson2014-03-231-2/+1
|
* Remove the now-unneeded click removal buffers for the deviceChris Robinson2014-03-231-2/+1
| | | | | | They are still there for auxiliary sends. However, they should go away soon enough too, and then we won't have to mess around with calculating extra "predictive" samples in the mixer.
* Step mixing gains per-sample for non-HRTF mixingChris Robinson2014-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This fades the dry mixing gains using a logarithmic curve, which should produce a smoother transition than a linear one. It functions similarly to a linear fade except that step = (target - current) / numsteps; ... gain += step; becomes step = powf(target / current, 1.0f / numsteps); ... gain *= step; where 'target' and 'current' are clamped to a lower bound that is greater than 0 (which makes no sense on a logarithmic scale). Consequently, the non-HRTF direct mixers do not do not feed into the click removal and pending click buffers, as this per-sample fading would do an adequate job of stopping clicks and pops caused by extreme gain changes. These buffers should be removed shortly.
* Move the step counter and moving flag to DirectParamsChris Robinson2014-03-231-3/+3
|
* Store the HrtfState directly in the DirectParamsChris Robinson2014-03-231-4/+4
|
* Store some source mixing parameters in the active source structChris Robinson2014-03-191-10/+11
|
* Fix a commentChris Robinson2013-10-261-1/+1
|
* Don't store the effect slot in SendParamsChris Robinson2013-10-061-1/+1
| | | | This makes it much more like DirectParams.
* Rename Filter param member to LpFilterChris Robinson2013-10-061-2/+2
|
* Use C99's inline instead of __inlineChris Robinson2013-05-281-3/+3
|
* Use ALfilterState for the source direct and send filtersChris Robinson2013-05-271-5/+5
|
* Use restrict instead of RESTRICTChris Robinson2013-05-221-1/+1
|
* Use a properly-defined history for the FILTER structChris Robinson2013-05-211-6/+6
|
* Remove the unused Device parameterChris Robinson2012-10-141-2/+2
|
* Remove the now-unused Source parameter from the DryMix methodsChris Robinson2012-10-141-2/+2
|
* Set Hrtf.Moving after setting the source params instead of after mixingChris Robinson2012-10-091-3/+0
|
* Rename a couple functionsChris Robinson2012-10-051-15/+15
| | | | Since they don't use the stack anymore.
* Put temporary storage in the device instead of on the stackChris Robinson2012-10-051-3/+2
|
* Add a special resampler for matching sample ratesChris Robinson2012-10-051-1/+1
|
* Fix potential buffer overflow with temp sample spaceChris Robinson2012-10-051-2/+3
|
* Remove an unneeded parameter from the resamplerChris Robinson2012-09-271-1/+1
|
* Deinterlace audio when loading it into the stack.Chris Robinson2012-09-261-182/+168
| | | | | | | It may be better to deinterlace it on load into the buffer, though I don't imagine this will affect much. It could be nice for consistency's sake, though it would also complicate things if we ever want to support direct access to buffer data.
* Ensure the ResampledBuffer is alignedChris Robinson2012-09-141-1/+1
|
* Use a source param for the resampler and move them to the mixer sourceChris Robinson2012-09-141-64/+3
|
* Move a couple methods to where they're usedChris Robinson2012-09-121-45/+0
|
* Do the filtering separately from the mixingChris Robinson2012-09-111-5/+24
|
* Try to ensure mixing samples in multiples of 4Chris Robinson2012-09-091-0/+5
|
* Move the target effect slot to the SendParams structChris Robinson2012-09-081-4/+3
|
* Remove STACK_DATA_SIZE in favor of BUFFERSIZEChris Robinson2012-09-081-2/+2
|
* Separate the resampling and mixing stepsChris Robinson2012-09-081-127/+92
|
* Add cmake options to disable or require support for CPU extensionsChris Robinson2012-08-151-6/+6
|
* Move mixers into separate source filesChris Robinson2012-08-151-415/+95
|
* Add an SSE-enhanced HRTF mixer using intrinsicsChris Robinson2012-08-141-0/+48
| | | | Not as good as it could be, but it's something
* Allow building multiple types of mixers, selecting based on CPU capsChris Robinson2012-08-131-47/+64
|
* Interpolate between HRTF delay samples using the delay fractionChris Robinson2012-07-201-8/+16
|
* Don't use all caps for enum value namesChris Robinson2012-06-281-19/+19
|
* Use 2 chained one-pole filters for the wet pathChris Robinson2012-04-301-6/+6
|
* Pass the direct/send params to the mixer instead of accessing through the sourceChris Robinson2012-04-281-17/+19
|
* Move the HrtfParams into the DirectParamsChris Robinson2012-04-281-4/+4
|
* Move the direct and send params into separate different typesChris Robinson2012-04-281-2/+2
|
* Use separate methods for the dry and wet mixing loopsChris Robinson2012-04-271-117/+96
|
* Reorganize some ALsource fieldsChris Robinson2012-04-271-18/+18
|
* The mixer always uses floatsChris Robinson2012-04-261-22/+20
|
* Use a separate loop to actually update DataPosFrac and DataPosIntChris Robinson2012-04-261-16/+18
|
* Remove hungarian notation from sourcesChris Robinson2012-04-191-3/+3
|
* Use more proper enum names for the resamplerChris Robinson2012-02-121-10/+8
|