aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
Commit message (Collapse)AuthorAgeFilesLines
* Use a minimum phase HRTF data setChris Robinson2011-06-031-2/+5
| | | | This reduces the coefficient size from 128 down to 32, with a set of delays
* Avoid looking in the buffer queue to find the frame sizeChris Robinson2011-05-181-0/+2
|
* Make mixers channel-count agnosticChris Robinson2011-05-171-0/+2
| | | | As a result, this combines/removes a bunch of mixers
* Use function pointers to call the source mixerChris Robinson2011-05-061-0/+2
|
* Implement HRTF mixers for multi-channel sourcesChris Robinson2011-05-021-2/+6
|
* Add an HRTF filter for mono sourcesChris Robinson2011-05-011-0/+4
| | | | | | | | | | The data is based on the KEMAR HRTF data provided by MIT, which can be found at <http://sound.media.mit.edu/resources/KEMAR.html>. The compact measurements were used. See hrtf_tables.inc for more information. The filter is only available for stereo output, using a 44100hz playback rate. Note also that it currently only applies to mono sounds, and the cf_level and head_dampen config options are ignored while it is active.
* BufferFreq doesn't need to be a floatChris Robinson2011-02-091-2/+2
|
* Constify some variablesChris Robinson2010-12-091-15/+15
|
* No need to clamp the app-specified pitchChris Robinson2010-12-031-2/+0
|
* Rename SrcFmt -> UserFmtChris Robinson2010-12-031-6/+6
|
* Reorder some parameters for consistencyChris Robinson2010-11-291-4/+4
|
* Fix source offset calculationsChris Robinson2010-11-291-2/+2
|
* Store the decomposed source format in the bufferChris Robinson2010-11-291-27/+16
|
* Keep a handle on the buffer with the format when queueing new buffersChris Robinson2010-11-291-10/+7
|
* Avoid making Resampler[Pre]Padding staticChris Robinson2010-11-281-0/+14
|
* Rename some stuff for consistencyChris Robinson2010-11-281-9/+9
|
* Don't store the internal format in the bufferChris Robinson2010-11-281-6/+6
| | | | The type and channel config are good enough
* Support rear formats directly in the mixerChris Robinson2010-11-271-31/+0
|
* Avoid a potential overflow when setting the source offsetChris Robinson2010-11-271-1/+1
|
* Clean up the source byte offset codeChris Robinson2010-11-271-20/+15
|
* Remove some unneeded muLaw special casesChris Robinson2010-11-271-17/+0
|
* Shorten a couple really long linesChris Robinson2010-11-271-5/+9
|
* Use the enums in a couple more placesChris Robinson2010-11-271-2/+2
|
* Call MixSource directly, instead of through a function pointerChris Robinson2010-11-251-4/+0
|
* Make the buffer queue a double-linked listChris Robinson2010-11-251-0/+6
|
* Fully progress the source to a stopped state when no buffers are playableChris Robinson2010-11-241-0/+4
|
* Use a double when converting millisecond offsets to byte offsetsChris Robinson2010-11-071-3/+3
|
* Remove unnecessary comments and reorder some linesChris Robinson2010-11-061-13/+8
|
* Make the SourceMix function a method of the ALsource structChris Robinson2010-09-261-0/+6
|
* Reduce some more indentationChris Robinson2010-09-211-44/+42
|
* Reduce some indentationChris Robinson2010-09-211-45/+29
|
* Improve some range checksChris Robinson2010-09-211-1/+1
|
* Implement AL_SOFT_buffer_sub_data using the current AL_EXT_buffer_sub_data specChris Robinson2010-09-211-6/+6
| | | | | | 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.
* Source positions at and after the end of the buffer queue go back to 0Chris Robinson2010-09-091-5/+5
|
* Remove unnecessary checkChris Robinson2010-09-071-6/+0
|
* Fix comparison checkChris Robinson2010-09-071-1/+1
|
* Check for invalid negative sizesChris Robinson2010-09-071-11/+45
|
* Remove unused struct memberChris Robinson2010-09-071-2/+0
|
* Use click removal to handle harsh panning/volume changesChris Robinson2010-08-151-5/+0
|
* Use click removal when starting a sourceChris Robinson2010-08-141-5/+1
|
* Combine non-attenuated source calculation functionsChris Robinson2010-08-071-4/+0
|
* Forward some more source properties instead of duplicatingChris Robinson2010-08-071-36/+12
|
* Combine stereo and stereo-duplicate mixersChris Robinson2010-08-051-0/+4
| | | | | Use a separate update method for stereo sources to the set appropriate channel gains
* Use a callback to specify the source update methodChris Robinson2010-08-031-6/+10
|
* Check the buffer's original format when queueing on a sourceChris Robinson2010-07-121-3/+3
|
* Use an array of active sources when mixingChris Robinson2010-06-061-0/+45
| | | | Prevents iterating over all allocated sources during mixing updates
* Add a function to get the frame size from a formatChris Robinson2010-05-241-2/+1
|
* Don't bother storing the loop points in the sourceChris Robinson2010-05-241-3/+0
|
* Loop points should be specified in sample offsetsChris Robinson2010-05-211-9/+2
|
* Use unsigned types when finding the source offsetsChris Robinson2010-05-191-9/+5
|