Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert a few divisions to multiplications | Chris Robinson | 2010-11-26 | 1 | -6/+7 |
| | |||||
* | Make a FRACTIONONE macro, and use it | Chris Robinson | 2010-11-26 | 1 | -8/+8 |
| | |||||
* | Share the interpolation functions and use them in the reverb effect | Chris Robinson | 2010-11-26 | 1 | -23/+9 |
| | |||||
* | Add a missing break statement | Chris Robinson | 2010-11-25 | 1 | -0/+1 |
| | |||||
* | Add a cubic resampler | Chris Robinson | 2010-11-25 | 1 | -6/+57 |
| | |||||
* | Force the point resampler when the source plays at normal speed | Chris Robinson | 2010-11-25 | 1 | -1/+1 |
| | |||||
* | Pass a pointer to the samplers so they can read just the samples they need | Chris Robinson | 2010-11-25 | 1 | -64/+51 |
| | |||||
* | Add "pre-padding" to the temp buffer | Chris Robinson | 2010-11-25 | 1 | -10/+88 |
| | | | | This will help to implement resamplers that want previous samples | ||||
* | Make sure the target buffer size is frame aligned | Chris Robinson | 2010-11-25 | 1 | -0/+1 |
| | |||||
* | Minor rework of the template macros | Chris Robinson | 2010-11-25 | 1 | -47/+54 |
| | |||||
* | Remove the cosine resampler | Chris Robinson | 2010-11-25 | 1 | -44/+0 |
| | | | | It's too slow when auxiliary sends are being used. | ||||
* | Double-up the interpolation functions (and make them use doubles) | Chris Robinson | 2010-11-25 | 1 | -65/+46 |
| | |||||
* | Rename some "template" functions | Chris Robinson | 2010-11-25 | 1 | -21/+21 |
| | |||||
* | Always make sure there's a sample available to mix, for pending click removal | Chris Robinson | 2010-11-25 | 1 | -109/+53 |
| | |||||
* | Use a temporary stack buffer to store the source buffer data to be mixed | Chris Robinson | 2010-11-25 | 1 | -72/+150 |
| | | | | | | | | This makes it much easier to pack the playable buffer data so that it's a continuous data stream. This could normally be broken up otherwise, such as when using loop points or small queued buffers. Currently it defaults to a 16KB stack buffer, but this can be overridden at compile time. | ||||
* | Use 0-based access for the buffer data | Chris Robinson | 2010-11-24 | 1 | -10/+15 |
| | |||||
* | Support 8-bit sample data in the mixer | Chris Robinson | 2010-11-24 | 1 | -1/+58 |
| | |||||
* | Check the sample byte size after the resampler | Chris Robinson | 2010-11-24 | 1 | -66/+51 |
| | |||||
* | Get rid of a useless union | Chris Robinson | 2010-11-24 | 1 | -12/+8 |
| | |||||
* | Change the mixer macros to declare functions | Chris Robinson | 2010-11-24 | 1 | -76/+196 |
| | |||||
* | Set mixer sample pos and frac when needed | Chris Robinson | 2010-11-24 | 1 | -6/+12 |
| | |||||
* | Reorder some stored source params | Chris Robinson | 2010-11-24 | 1 | -3/+3 |
| | |||||
* | Make sure the buffer padding is always cleared before looking for the next ↵ | Chris Robinson | 2010-11-24 | 1 | -2/+1 |
| | | | | buffer | ||||
* | 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 | 1 | -220/+0 |
| | |||||
* | Use the number of sends the device is configured for in more places | Chris Robinson | 2010-11-06 | 1 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | Fix fpu state handling with _controlfp | Chris Robinson | 2010-10-15 | 1 | -3/+2 |
| | |||||
* | 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 | 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 |
| | |||||
* | 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. | ||||
* | 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 |
| |