aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* Uninline some functionsChris Robinson2010-11-283-0/+140
| | | | Also add -Winline to the compiler command line to watch for future inline problems
* Avoid making Resampler[Pre]Padding staticChris Robinson2010-11-281-3/+0
|
* Prefer GCC's constructor, even in WindowsChris Robinson2010-11-281-4/+4
|
* Rename some stuff for consistencyChris Robinson2010-11-282-5/+5
|
* Don't store the internal format in the bufferChris Robinson2010-11-282-5/+5
| | | | The type and channel config are good enough
* Support rear formats directly in the mixerChris Robinson2010-11-271-0/+23
|
* Add a basic WaveOut deviceChris Robinson2010-11-271-19/+343
| | | | It can still use more work, but it seems to work
* Support 64-bit double buffers directlyChris Robinson2010-11-271-0/+42
|
* Use the enums in a couple more placesChris Robinson2010-11-271-4/+4
|
* Use enums when selecting the mixerChris Robinson2010-11-261-29/+34
|
* Avoid some more code duplicationChris Robinson2010-11-261-36/+44
|
* Fix step calculationsChris Robinson2010-11-261-4/+0
|
* Fix some commentsChris Robinson2010-11-261-4/+5
|
* Properly clamp high pitch valuesChris Robinson2010-11-262-41/+35
|
* Subtract the fractional position separatelyChris Robinson2010-11-261-1/+2
|
* Rename some variables to be clearerChris Robinson2010-11-261-61/+62
|
* Make the buffer padding size dependent on the resamplerChris Robinson2010-11-261-15/+20
|
* Convert a few divisions to multiplicationsChris Robinson2010-11-261-6/+7
|
* Make a FRACTIONONE macro, and use itChris Robinson2010-11-262-12/+12
|
* Share the interpolation functions and use them in the reverb effectChris Robinson2010-11-262-37/+23
|
* Slightly improve channel gain calculationsChris Robinson2010-11-262-9/+8
|
* Add a missing break statementChris Robinson2010-11-251-0/+1
|
* Call MixSource directly, instead of through a function pointerChris Robinson2010-11-251-1/+1
|
* Add a cubic resamplerChris Robinson2010-11-251-6/+57
|
* Force the point resampler when the source plays at normal speedChris Robinson2010-11-251-1/+1
|
* Pass a pointer to the samplers so they can read just the samples they needChris Robinson2010-11-251-64/+51
|
* Add "pre-padding" to the temp bufferChris Robinson2010-11-251-10/+88
| | | | This will help to implement resamplers that want previous samples
* Be less wave-in-specific in the winmm backendChris Robinson2010-11-251-77/+81
|
* Make the first enumerated DirectSound device use the default, and fix the nameChris Robinson2010-11-251-2/+15
|
* Make sure the target buffer size is frame alignedChris Robinson2010-11-251-0/+1
|
* Minor rework of the template macrosChris Robinson2010-11-251-47/+54
|
* Remove the cosine resamplerChris Robinson2010-11-251-44/+0
| | | | It's too slow when auxiliary sends are being used.
* Double-up the interpolation functions (and make them use doubles)Chris Robinson2010-11-251-65/+46
|
* Rename some "template" functionsChris Robinson2010-11-251-21/+21
|
* Always make sure there's a sample available to mix, for pending click removalChris Robinson2010-11-251-109/+53
|
* Use a temporary stack buffer to store the source buffer data to be mixedChris Robinson2010-11-251-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 dataChris Robinson2010-11-241-10/+15
|
* Support 8-bit sample data in the mixerChris Robinson2010-11-241-1/+58
|
* Check the sample byte size after the resamplerChris Robinson2010-11-241-66/+51
|
* Get rid of a useless unionChris Robinson2010-11-241-12/+8
|
* Change the mixer macros to declare functionsChris Robinson2010-11-241-76/+196
|
* Set mixer sample pos and frac when neededChris Robinson2010-11-241-6/+12
|
* Reorder some stored source paramsChris Robinson2010-11-242-6/+6
|
* Make sure the buffer padding is always cleared before looking for the next ↵Chris Robinson2010-11-241-2/+1
| | | | buffer
* Calculate ALSA buffer length with the other valuesChris Robinson2010-11-231-2/+6
|
* Handle the timer wrapping in the wave and null output devicesChris Robinson2010-11-212-6/+8
|
* Use helpers to write 16- and 32-bit valuesChris Robinson2010-11-211-53/+32
|
* Get rid of the device timer stuffChris Robinson2010-11-2111-159/+13
|
* Avoid temporary float variablesChris Robinson2010-11-211-6/+6
|
* Pass the data pointer and proper sampler to the mixer macroChris Robinson2010-11-211-39/+39
|