Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use enums when selecting the mixer | Chris Robinson | 2010-11-26 | 3 | -29/+150 |
| | |||||
* | Remove an unnecessary 'struct' keyword | Chris Robinson | 2010-11-26 | 1 | -3/+3 |
| | |||||
* | Avoid some more code duplication | Chris Robinson | 2010-11-26 | 1 | -36/+44 |
| | |||||
* | Fix step calculations | Chris Robinson | 2010-11-26 | 1 | -4/+0 |
| | |||||
* | Fix some comments | Chris Robinson | 2010-11-26 | 1 | -4/+5 |
| | |||||
* | Properly clamp high pitch values | Chris Robinson | 2010-11-26 | 3 | -42/+49 |
| | |||||
* | Subtract the fractional position separately | Chris Robinson | 2010-11-26 | 1 | -1/+2 |
| | |||||
* | Rename some variables to be clearer | Chris Robinson | 2010-11-26 | 1 | -61/+62 |
| | |||||
* | Make the buffer padding size dependent on the resampler | Chris Robinson | 2010-11-26 | 3 | -18/+31 |
| | |||||
* | Don't allocate padding with the buffer itself | Chris Robinson | 2010-11-26 | 1 | -35/+35 |
| | |||||
* | Decrease the buffer size more | Chris Robinson | 2010-11-26 | 1 | -1/+1 |
| | |||||
* | 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 | 3 | -13/+14 |
| | |||||
* | Share the interpolation functions and use them in the reverb effect | Chris Robinson | 2010-11-26 | 3 | -37/+39 |
| | |||||
* | Slightly improve channel gain calculations | Chris Robinson | 2010-11-26 | 2 | -9/+8 |
| | |||||
* | Add a missing break statement | Chris Robinson | 2010-11-25 | 1 | -0/+1 |
| | |||||
* | Call MixSource directly, instead of through a function pointer | Chris Robinson | 2010-11-25 | 3 | -7/+1 |
| | |||||
* | Add a cubic resampler | Chris Robinson | 2010-11-25 | 3 | -6/+59 |
| | |||||
* | 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 | 2 | -10/+89 |
| | | | | This will help to implement resamplers that want previous samples | ||||
* | Make the buffer queue a double-linked list | Chris Robinson | 2010-11-25 | 2 | -0/+7 |
| | |||||
* | Be less wave-in-specific in the winmm backend | Chris Robinson | 2010-11-25 | 1 | -77/+81 |
| | |||||
* | Make the first enumerated DirectSound device use the default, and fix the name | Chris Robinson | 2010-11-25 | 1 | -2/+15 |
| | |||||
* | 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 | 3 | -46/+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 |
| | |||||
* | Fix a bunch of comments | Chris Robinson | 2010-11-25 | 1 | -34/+34 |
| | |||||
* | Don't "convert" LOKI quad to MCFORMATS quad | Chris Robinson | 2010-11-25 | 1 | -11/+2 |
| | |||||
* | 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 | 2 | -77/+97 |
| | |||||
* | 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 |
| | |||||
* | Fully progress the source to a stopped state when no buffers are playable | Chris Robinson | 2010-11-24 | 1 | -0/+4 |
| | |||||
* | Reorder some stored source params | Chris Robinson | 2010-11-24 | 3 | -11/+11 |
| | |||||
* | Make sure the buffer padding is always cleared before looking for the next ↵ | Chris Robinson | 2010-11-24 | 1 | -2/+1 |
| | | | | buffer | ||||
* | Calculate ALSA buffer length with the other values | Chris Robinson | 2010-11-23 | 1 | -2/+6 |
| | |||||
* | Handle the timer wrapping in the wave and null output devices | Chris Robinson | 2010-11-21 | 2 | -6/+8 |
| | |||||
* | Use helpers to write 16- and 32-bit values | Chris Robinson | 2010-11-21 | 1 | -53/+32 |
| | |||||
* | 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. |