Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use separate mixing loops for the dry path and wet paths | Chris Robinson | 2010-09-24 | 1 | -92/+234 |
| | | | | | | | | | | | | This will increase CPU use a bit for sources that use auxiliary sends (particularly with the cosine resampler), but it makes it more scalable when adding more sends per source. Additionally, it will improve performance of sources that don't use auxiliary sends. The cosine resampler can probably be improved by using a lookup table instead of calling cos() as there are 14 bits of fractional precision, so a 16384- element float array would cover it all. This can also be reduced to a half or quarter size if the precision loss is found to be acceptable. | ||||
* | Use ALfloat for the dry mix buffer | Chris Robinson | 2010-09-23 | 1 | -3/+3 |
| | |||||
* | Remove an unnecessary variable | Chris Robinson | 2010-09-23 | 1 | -5/+3 |
| | |||||
* | Rename some variables to be less confusing | Chris Robinson | 2010-09-23 | 1 | -32/+32 |
| | |||||
* | Fix line indentation | Chris Robinson | 2010-09-23 | 1 | -1/+1 |
| | |||||
* | Be consistent with a variable's use | Chris Robinson | 2010-09-23 | 1 | -3/+3 |
| | |||||
* | Convert float to short similar to short to float | Chris Robinson | 2010-09-23 | 1 | -5/+4 |
| | |||||
* | Store and mix signed 16-bit samples | Chris Robinson | 2010-09-22 | 1 | -32/+47 |
| | |||||
* | Allow the mixing loop to access the different sample formats | Chris Robinson | 2010-09-22 | 1 | -63/+63 |
| | |||||
* | Compact some reused code | Chris Robinson | 2010-09-22 | 1 | -115/+69 |
| | |||||
* | Allow accessing the buffer data as multiple data types in the mixer | Chris Robinson | 2010-09-22 | 1 | -20/+27 |
| | | | | Also reduces a bunch of indentation | ||||
* | Use separate macros for the different mixing loops | Chris Robinson | 2010-09-22 | 1 | -200/+202 |
| | |||||
* | Consolidate some code | Chris Robinson | 2010-09-21 | 1 | -13/+12 |
| | |||||
* | Pass dry-path click buffers as parameters to MixSource | Chris Robinson | 2010-09-11 | 1 | -6/+4 |
| | |||||
* | Avoid another non-descript incrementing variable | Chris Robinson | 2010-09-09 | 1 | -11/+14 |
| | |||||
* | Avoid using a single-letter iterator value | Chris Robinson | 2010-09-09 | 1 | -12/+13 |
| | |||||
* | Combine multiple checks into one | Chris Robinson | 2010-09-08 | 1 | -9/+12 |
| | |||||
* | Better protect against sample overflow when converting float to short | Chris Robinson | 2010-09-08 | 1 | -11/+6 |
| | |||||
* | Remove unused struct member | Chris Robinson | 2010-09-07 | 1 | -2/+0 |
| | |||||
* | Combine two arrays into one | Chris Robinson | 2010-08-16 | 1 | -18/+17 |
| | |||||
* | Handle clicks by watching changes between updates | Chris Robinson | 2010-08-16 | 1 | -46/+102 |
| | |||||
* | Use the correct value to dereference an array | Chris Robinson | 2010-08-16 | 1 | -1/+1 |
| | |||||
* | Consolidate some click removal calculations | Chris Robinson | 2010-08-15 | 1 | -26/+16 |
| | |||||
* | Use a multiplier instead of if checks | Chris Robinson | 2010-08-15 | 1 | -28/+20 |
| | |||||
* | Add click removal for wet sends | Chris Robinson | 2010-08-15 | 1 | -7/+48 |
| | |||||
* | Use click removal to handle harsh panning/volume changes | Chris Robinson | 2010-08-15 | 1 | -73/+53 |
| | |||||
* | Use click removal when starting a source | Chris Robinson | 2010-08-14 | 1 | -0/+42 |
| | |||||
* | Add a corrective, click-remval sample value offset | Chris Robinson | 2010-08-14 | 1 | -0/+11 |
| | | | | | | This will hopefully be more effective and rebust at removing clicks and pops, particularly from starts and stops in the middle of a sound. Based on an idea by Ben Davis. | ||||
* | Calculate the source stepping value with the param calculations | Chris Robinson | 2010-08-07 | 1 | -13/+2 |
| | |||||
* | Set up increment once | Chris Robinson | 2010-08-07 | 1 | -11/+11 |
| | |||||
* | Calculate the actual stepping value in the source update method | Chris Robinson | 2010-08-07 | 1 | -32/+19 |
| | |||||
* | Calculate gain steps once during a source mix | Chris Robinson | 2010-08-06 | 1 | -11/+11 |
| | |||||
* | Effectslot's Effectstate should never be NULL | Chris Robinson | 2010-08-06 | 1 | -2/+1 |
| | |||||
* | Remove an unnecessary check | Chris Robinson | 2010-08-06 | 1 | -1/+1 |
| | | | | | The number of buffers played should never exceed the buffer count when playing, and the buffer list is used later on regardless | ||||
* | Combine stereo and stereo-duplicate mixers | Chris Robinson | 2010-08-05 | 1 | -27/+5 |
| | | | | | Use a separate update method for stereo sources to the set appropriate channel gains | ||||
* | Move the core mixer functions to a separate source file | Chris Robinson | 2010-08-03 | 1 | -0/+791 |