Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get a variable where it's needed | Chris Robinson | 2010-09-26 | 1 | -3/+1 |
| | |||||
* | Pass the device to the mix function and localize the dry mix and click buffers | Chris Robinson | 2010-09-26 | 1 | -16/+25 |
| | |||||
* | Clarify a check | Chris Robinson | 2010-09-26 | 1 | -1/+1 |
| | |||||
* | Make the SourceMix function a method of the ALsource struct | Chris Robinson | 2010-09-26 | 1 | -8/+5 |
| | |||||
* | Avoid updating the source in MixSource | Chris Robinson | 2010-09-25 | 1 | -10/+11 |
| | |||||
* | Convert shorts so that 0 remains 0 | Chris Robinson | 2010-09-25 | 1 | -4/+4 |
| | |||||
* | Don't try to open the ALSA device a second time if the first fails | Chris Robinson | 2010-09-25 | 1 | -10/+0 |
| | |||||
* | Avoid some code duplication | Chris Robinson | 2010-09-25 | 1 | -96/+44 |
| | |||||
* | Localize more variables and remove unnecessary ones | Chris Robinson | 2010-09-25 | 1 | -68/+73 |
| | |||||
* | Avoid sampling beyond the end of the loop | Chris Robinson | 2010-09-24 | 1 | -6/+6 |
| | |||||
* | Localize some variables to the mixer macros | Chris Robinson | 2010-09-24 | 1 | -51/+84 |
| | | | | | | The hope here is to help break the mixer loops into separate functions, so the macro expansion doesn't cause the MixSource function to explode in size and kill compilation speed. | ||||
* | 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. | ||||
* | Better protect against negative attenuation | Chris Robinson | 2010-09-24 | 1 | -1/+4 |
| | |||||
* | 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 | ||||
* | Duplicate stereo sources by default | Chris Robinson | 2010-09-22 | 2 | -1/+2 |
| | | | | | The mixer is smart enough now to handle proper volume adjustments depending on the number of output speakers | ||||
* | 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 |
| | |||||
* | Implement AL_SOFT_buffer_sub_data using the current AL_EXT_buffer_sub_data spec | Chris Robinson | 2010-09-21 | 1 | -1/+3 |
| | | | | | | This extension can be useful for some applications, but a full EXT version may not be ready for some time. Using the SOFT moniker will help differentiate it in case changes need to be done for the EXT version. | ||||
* | Store air absorption factor locally | Chris Robinson | 2010-09-12 | 1 | -3/+5 |
| | |||||
* | Prevent effectiveDist from going negative | Chris Robinson | 2010-09-11 | 1 | -1/+1 |
| | |||||
* | 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 | 2 | -46/+105 |
| | |||||
* | 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 | 2 | -0/+14 |
| | | | | | | 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. | ||||
* | Rename Null Output to No Output | Chris Robinson | 2010-08-13 | 1 | -1/+1 |
| | |||||
* | Start the device when creating a context without specified attributes | Chris Robinson | 2010-08-12 | 1 | -45/+49 |
| | |||||
* | Output on available channels only, for the echo and modulator effects | Chris Robinson | 2010-08-09 | 2 | -25/+33 |
| | |||||
* | Fix early/late reverb panning, and only output reverb on available channels | Chris Robinson | 2010-08-09 | 1 | -28/+48 |
| | |||||
* | Update device parameters using a separate function | Chris Robinson | 2010-08-09 | 1 | -156/+158 |
| | |||||
* | Decrement context count when it's removed from the list | Chris Robinson | 2010-08-08 | 1 | -2/+2 |
| |