Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Uninline some functions | Chris Robinson | 2010-11-28 | 3 | -0/+140 |
| | | | | Also add -Winline to the compiler command line to watch for future inline problems | ||||
* | Avoid making Resampler[Pre]Padding static | Chris Robinson | 2010-11-28 | 1 | -3/+0 |
| | |||||
* | Prefer GCC's constructor, even in Windows | Chris Robinson | 2010-11-28 | 1 | -4/+4 |
| | |||||
* | Rename some stuff for consistency | Chris Robinson | 2010-11-28 | 2 | -5/+5 |
| | |||||
* | Don't store the internal format in the buffer | Chris Robinson | 2010-11-28 | 2 | -5/+5 |
| | | | | The type and channel config are good enough | ||||
* | Support rear formats directly in the mixer | Chris Robinson | 2010-11-27 | 1 | -0/+23 |
| | |||||
* | Add a basic WaveOut device | Chris Robinson | 2010-11-27 | 1 | -19/+343 |
| | | | | It can still use more work, but it seems to work | ||||
* | Support 64-bit double buffers directly | Chris Robinson | 2010-11-27 | 1 | -0/+42 |
| | |||||
* | Use the enums in a couple more places | Chris Robinson | 2010-11-27 | 1 | -4/+4 |
| | |||||
* | Use enums when selecting the mixer | Chris Robinson | 2010-11-26 | 1 | -29/+34 |
| | |||||
* | 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 | 2 | -41/+35 |
| | |||||
* | 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 | 1 | -15/+20 |
| | |||||
* | 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 | 2 | -12/+12 |
| | |||||
* | Share the interpolation functions and use them in the reverb effect | Chris Robinson | 2010-11-26 | 2 | -37/+23 |
| | |||||
* | 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 | 1 | -1/+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 | ||||
* | 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 | 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 | 2 | -6/+6 |
| | |||||
* | 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 | 11 | -159/+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 |
| |