aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
Commit message (Collapse)AuthorAgeFilesLines
* Return int and float config values through a parameterChris Robinson2011-09-181-1/+1
| | | | | This allows the getter functions to return whether or not the option exists without a separate call and check.
* Remove GetLockedContextChris Robinson2011-09-111-12/+29
|
* Use a RWLock to protect access to a buffer instead of the device lockChris Robinson2011-09-111-40/+46
|
* Small fixes to setting the source's direct filter and auxiliary sendChris Robinson2011-09-111-5/+5
|
* Avoid holding the context lock while setting source parametersChris Robinson2011-09-111-37/+74
| | | | Note that some parameters still need the lock when getting or setting them.
* Initialize source parameters before adding the source to the mapChris Robinson2011-09-101-1/+1
|
* Don't defer stopped and initial source state changesChris Robinson2011-09-101-4/+4
| | | | | | | Typically when these are set, an app will be releasing the buffer from the source, possibly to immediately reuse it. There would be an extra burden placed on the app if it was required to process updates before it could fully release the buffer from the source.
* 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
|