Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rid of the device timer stuff | Chris Robinson | 2010-11-21 | 12 | -172/+13 |
| | |||||
* | Avoid temporary float variables | Chris Robinson | 2010-11-21 | 1 | -6/+6 |
| | |||||
* | Pass the data pointer and proper sampler to the mixer macro | Chris Robinson | 2010-11-21 | 1 | -39/+39 |
| | |||||
* | Move aluMixData back to ALu.c | Chris Robinson | 2010-11-21 | 2 | -220/+217 |
| | |||||
* | Hide AL_EXTX_sample_buffer_object | Chris Robinson | 2010-11-21 | 1 | -4/+3 |
| | | | | | It hasn't been going anywhere, and it's current use is dubious. Leave the code in for now, but it may be removed later. | ||||
* | Use a double when converting millisecond offsets to byte offsets | Chris Robinson | 2010-11-07 | 1 | -3/+3 |
| | |||||
* | Increase the max number of source sends to 4, and decrease the default to 1 | Chris Robinson | 2010-11-06 | 3 | -6/+6 |
| | |||||
* | Use the number of sends the device is configured for in more places | Chris Robinson | 2010-11-06 | 3 | -15/+7 |
| | |||||
* | Remove unnecessary comments and reorder some lines | Chris Robinson | 2010-11-06 | 1 | -13/+8 |
| | |||||
* | Use a switch to select the appropriate channel-count mixer | Chris Robinson | 2010-11-06 | 1 | -7/+16 |
| | |||||
* | Declare a variable where it's used | Chris Robinson | 2010-11-01 | 1 | -2/+1 |
| | |||||
* | Remove explicit use of -funroll-loops | Chris Robinson | 2010-10-15 | 1 | -2/+2 |
| | | | | I'm not sure this really helps much. | ||||
* | Fix fpu state handling with _controlfp | Chris Robinson | 2010-10-15 | 1 | -3/+2 |
| | |||||
* | Improve a macro to reference its parameter | Chris Robinson | 2010-10-11 | 1 | -2/+2 |
| | |||||
* | Fix 64-bit compilation | Chris Robinson | 2010-10-11 | 1 | -1/+1 |
| | |||||
* | Rename a couple more variables | Chris Robinson | 2010-10-10 | 1 | -37/+35 |
| | |||||
* | Improve naming and placement of a couple variables | Chris Robinson | 2010-10-10 | 1 | -12/+14 |
| | |||||
* | Simplify a calculation | Chris Robinson | 2010-10-09 | 1 | -2/+1 |
| | |||||
* | Check resampler mode first when selecting the mixer | Chris Robinson | 2010-09-26 | 1 | -59/+43 |
| | |||||
* | 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 | 3 | -24/+29 |
| | |||||
* | 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 | 4 | -9/+21 |
| | |||||
* | 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 | 2 | -4/+4 |
| | |||||
* | 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 | 2 | -109/+155 |
| | |||||
* | 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 | 3 | -386/+379 |
| | | | | Also reduces a bunch of indentation | ||||
* | Duplicate stereo sources by default | Chris Robinson | 2010-09-22 | 3 | -6/+10 |
| | | | | | 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 |
| | |||||
* | Reduce some more indentation | Chris Robinson | 2010-09-21 | 6 | -183/+188 |
| | |||||
* | Reduce some indentation | Chris Robinson | 2010-09-21 | 6 | -209/+166 |
| | |||||
* | Improve some range checks | Chris Robinson | 2010-09-21 | 2 | -3/+5 |
| | |||||
* | Implement AL_SOFT_buffer_sub_data using the current AL_EXT_buffer_sub_data spec | Chris Robinson | 2010-09-21 | 5 | -9/+28 |
| | | | | | | 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. | ||||
* | Improve range checking for BufferSubData | Chris Robinson | 2010-09-19 | 1 | -2/+2 |
| |