aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
Commit message (Collapse)AuthorAgeFilesLines
* Store the filter gains directly in the source instead of duplicate filter ↵Chris Robinson2011-08-311-10/+22
| | | | objects
* Rename GetReffedContext to GetContextRefChris Robinson2011-08-301-3/+3
|
* Add a limit to the UIntMap size and use it for sources and effect slotsChris Robinson2011-08-301-8/+1
|
* Add functions to retrieve the source from the source map while removing itChris Robinson2011-08-301-7/+4
|
* Lock the context while deleting sources only as neededChris Robinson2011-08-301-6/+14
|
* Don't lock the context while checking the validity of objectsChris Robinson2011-08-301-2/+2
|
* Do a pointer exchange when replacing the source buffer queueChris Robinson2011-08-291-16/+17
|
* Use the reference counting functions for the buffer and auxiliary slot refsChris Robinson2011-08-291-11/+11
|
* Hold the context lock as needed while generating and deleting sourcesChris Robinson2011-08-291-19/+20
|
* Remove the Buffer field from the sourceChris Robinson2011-08-231-24/+15
|
* Explicitly set BufferListStart's prev fieldChris Robinson2011-08-231-1/+1
|
* 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
|