aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
Commit message (Collapse)AuthorAgeFilesLines
* Always use the thunk functions to get object IDsChris Robinson2011-08-221-4/+4
|
* Don't use the thunk array for object lookupsChris Robinson2011-08-221-7/+7
|
* Defer source offset changes requested by the appChris Robinson2011-08-211-4/+5
|
* Use -1 to mark an invalid source offset instead of 0Chris Robinson2011-08-211-5/+6
|
* Defer source state changes from alSourcePlay/Pause/Stop/Rewind callsChris Robinson2011-08-201-4/+9
|
* Use a separate function to set the source stateChris Robinson2011-08-201-87/+109
|
* Make sure source vectors are finite valuesChris Robinson2011-07-201-12/+27
|
* Fade between HRTF coefficients, to reduce noise from sudden changesChris Robinson2011-07-161-11/+23
|
* Get rid of a couple typedefsChris Robinson2011-07-021-1/+1
|
* Rename Suspend/ProcessContext since they are locking a mutexChris Robinson2011-06-301-42/+42
|
* Add a source property to skip channel virtualization for multi-channel buffersChris Robinson2011-06-291-0/+17
| | | | | | | | | With virtualization disabled, channels are mapped directly from input to output and any input channel that is missing an output is dropped. Any virtualization effects (such as HRTF filters) for positional cues are also skipped. The idea is to allow applications a way to play pre-filtered audio that channel vitualization effects could interfere with.
* Select the mixer during a source updateChris Robinson2011-06-251-2/+0
|
* Allow alThunkAddEntry to return a proper errorChris Robinson2011-06-171-3/+3
|
* Use separate lines for HRTF history and valuesChris Robinson2011-06-171-2/+4
|
* Handle the device's disconnected status earlier when playing a sourceChris Robinson2011-06-171-17/+8
|
* Avoid calling some AL functions from under the context lockChris Robinson2011-06-161-123/+147
| | | | | | | There are still some more occurances to clear out (deletion in gen error, effects, some filters), which shall be coming up. There is a possibility for a deadlock between the listlock and the global/context lock, if another attempt to get the listlock is made while under the context lock.
* 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
|