aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
Commit message (Collapse)AuthorAgeFilesLines
* Make alcSetError staticChris Robinson2011-09-141-24/+24
|
* Use IsDebuggerPresent instead of the VC-only __try/__exceptChris Robinson2011-09-141-5/+2
|
* Return an error from the CaptureSamples method instead of setting itChris Robinson2011-09-141-9/+8
|
* Rename the ALEffect_ macros to ALeffectState_ to reflect what they work onChris Robinson2011-09-121-2/+2
|
* Be a bit more robust while handling the global device listChris Robinson2011-09-121-45/+38
|
* Remove the context from being current before removing it from the deviceChris Robinson2011-09-121-13/+13
|
* Get rid of IsContextChris Robinson2011-09-121-74/+60
|
* Use VerifyDevice to validate a device handle instead of IsDeviceChris Robinson2011-09-121-26/+4
|
* Look for __ALSOFT_TRAP_ERROR to trap both AL and ALC errorsChris Robinson2011-09-121-5/+14
|
* Shorten some warning messagesChris Robinson2011-09-121-3/+3
|
* Don't increment the context reference count when lockedChris Robinson2011-09-111-2/+0
|
* Remove GetLockedContextChris Robinson2011-09-111-23/+0
|
* Add a comment about when FreeContext and FreeDevice are calledChris Robinson2011-09-101-3/+3
|
* Trace the device pointer when warning about leftover objectsChris Robinson2011-09-101-3/+3
|
* Condense some codeChris Robinson2011-09-101-11/+8
|
* Clean up some code commentsChris Robinson2011-09-101-101/+94
|
* Lock the lists while probing devicesChris Robinson2011-09-101-18/+21
|
* Clean up some commentsChris Robinson2011-09-101-44/+51
|
* Slightly modify a warningChris Robinson2011-09-101-1/+1
|
* Properly destroy contexts that are left on the device when it's closedChris Robinson2011-09-101-37/+46
|
* Avoid locking the device when adding and removing contextsChris Robinson2011-09-101-15/+13
| | | | Also, don't keep track of the number of contexts per device
* Avoid holding the list lock when not neededChris Robinson2011-09-101-118/+172
|
* Warn about contexts that are errantly left currentChris Robinson2011-09-101-0/+11
| | | | | These won't show by default in release mode, unless the log level is changed to show warnings.
* Hold an extra reference on the device for each of its contextsChris Robinson2011-09-101-0/+14
|
* Add some reference counting to the deviceChris Robinson2011-09-101-38/+51
|
* Fix a parameter typeChris Robinson2011-09-101-1/+1
|
* Add an option to trap device errors in a debuggerChris Robinson2011-09-101-0/+25
|
* Add an option to trap context errors in a debuggerChris Robinson2011-09-101-0/+8
|
* Use an array to get the device format from the user config stringChris Robinson2011-09-091-109/+36
|
* Avoid an unnecessary lockChris Robinson2011-09-021-6/+1
|
* Do an atomic compare-exchange on the global context when destroying a contextChris Robinson2011-09-021-6/+3
|
* Use an atomic exchange to get the old global context when setting a new oneChris Robinson2011-09-021-2/+3
|
* Log the function name instead of the source file and line numberChris Robinson2011-09-021-10/+12
|
* Store the filter gains directly in the source instead of duplicate filter ↵Chris Robinson2011-08-311-2/+2
| | | | 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-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
|