aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a limit to the UIntMap size and use it for sources and effect slotsChris Robinson2011-08-301-9/+9
|
* Use a separate array for the auxiliary slots in the mixerChris Robinson2011-08-301-1/+6
|
* Use the reference counting functions for the buffer and auxiliary slot refsChris Robinson2011-08-291-1/+1
|
* Make specific functions to lock/unlock UIntMap accessChris Robinson2011-08-291-7/+7
|
* Manually lock the map while iterating through its contentsChris Robinson2011-08-291-0/+7
|
* Lock the context as needed for the defer and process callsChris Robinson2011-08-291-2/+26
|
* Hold a reference on the global contextChris Robinson2011-08-291-7/+12
|
* Increment the context reference count when lockingChris Robinson2011-08-281-46/+38
|
* Use a list of contexts in the device instead of an arrayChris Robinson2011-08-281-36/+32
|
* Avoid a global list of contextsChris Robinson2011-08-281-26/+17
|
* Check if the context is valid only if it's replacing the current thread contextChris Robinson2011-08-281-12/+11
|
* Hold a reference on the context when being set as current on the threadChris Robinson2011-08-281-40/+50
| | | | | This should vastly improve efficiency for retrieving the current thread context, as we can be assured the stored context pointer will always be valid.
* Rename ALCcontext_Deref to ALCcontext_DecRefChris Robinson2011-08-281-2/+2
|
* Emulate pthread TLS functions in WindowsChris Robinson2011-08-281-12/+28
|
* Add reference counting to the ALC contextsChris Robinson2011-08-281-25/+33
|
* Return an ALC error enum from the OpenCapture backend methodChris Robinson2011-08-241-2/+3
|
* Return an ALC error enum from the OpenPlayback backend methodChris Robinson2011-08-241-2/+3
|
* Add AL_SOFTX_deferred_updates to the context's extension listChris Robinson2011-08-221-1/+2
|
* Always use the thunk functions to get object IDsChris Robinson2011-08-221-2/+3
|
* Remove some spacesChris Robinson2011-08-201-2/+0
|
* Move the GUID initialization to the helperChris Robinson2011-08-201-21/+0
|
* Set the loopback backend functions firstChris Robinson2011-08-201-1/+1
|
* Move some functions into a separate helper source fileChris Robinson2011-08-201-388/+74
|
* More closely emulate pthread_once in WindowsChris Robinson2011-08-201-11/+11
|
* Use the proper variable typeChris Robinson2011-08-191-1/+1
|
* Remove a couple unneeded variablesChris Robinson2011-08-191-14/+6
|
* Delete the mutex if the device fails to openChris Robinson2011-08-191-0/+2
|
* Make sure there's a valid backend before trying to open a deviceChris Robinson2011-08-191-0/+12
|
* Don't remove backends that fail to initializeChris Robinson2011-08-191-26/+14
|
* Use only the first available backend for playback or capture devicesChris Robinson2011-08-191-46/+30
| | | | | | This should help cut down on the number of duplicate devices when enumerating on a system that supports multiple backends. It will also avoid the problem of backends that don't play well with others (eg, PulseAudio).
* Use separate lists for playback and capture backendsChris Robinson2011-08-191-12/+41
|
* Remove a typedefChris Robinson2011-08-181-5/+5
|
* Remove backends that fail to initializeChris Robinson2011-08-171-2/+14
|
* Allow the backend init functions to return failureChris Robinson2011-08-171-1/+1
|
* Make sure there's a buffer to render loopback samples toChris Robinson2011-08-121-1/+1
|
* Use an existing function to clear and free the contextChris Robinson2011-08-121-7/+5
|
* Avoid closing devices and deinitializing backends on process exitChris Robinson2011-08-031-20/+37
| | | | | They are still closed and deinitialized when the DLL is simply being detached (via FreeLibrary), however.
* Delay reading the config file on Windows, tooChris Robinson2011-08-031-7/+15
|
* Use real-time priority by default on WindowsChris Robinson2011-07-231-0/+4
| | | | | It's actually "time-critical", but it seems normal priority doesn't cope as well when the system is under moderate load.
* Use DSound notifications to wake up the mixer threadChris Robinson2011-07-211-0/+2
|
* Add an option to emulate EAX reverb using standard reverbChris Robinson2011-07-201-0/+1
|
* Add a config option to boost reverb outputChris Robinson2011-07-201-0/+3
|
* Invert the device channel mapChris Robinson2011-07-171-54/+54
|
* Add a couple new functions to handle deferred updatesChris Robinson2011-07-161-11/+8
| | | | | | Currently no-ops, they will be used in place of alcSuspendContext and alcProcessContext for batching updates since the mentioned functions have no coherent functionality between system implementations.
* Pass the effect slot to the effect update methodChris Robinson2011-07-161-1/+1
|
* Allow effect slots to be updated asynchronouslyChris Robinson2011-07-161-2/+3
| | | | | | Updates when the slot changes effect type is still sychronous, however, to ensure a proper state for the Process method call. Fixing this would essentially require all effects to work from the same state.
* Warn about HRTF being disabled in the compatibility check functionChris Robinson2011-07-161-5/+1
|
* Rename the ERROR macro to ERRChris Robinson2011-07-131-9/+9
|
* Avoid holding the global list lock while calling some capture methodsChris Robinson2011-07-131-6/+28
|
* Use a flag to signifiy that all sources need updatingChris Robinson2011-07-111-0/+2
|