aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't set a thread priority if real-time isn't requestedChris Robinson2011-08-311-10/+2
|
* Add a function to initialize a RWLockChris Robinson2011-08-313-10/+12
|
* Hold the context lock only as needed when handling the listenerChris Robinson2011-08-312-120/+138
|
* Avoid locking the context while getting and setting global stateChris Robinson2011-08-312-49/+49
|
* Use the active effect slot list for pending updates in alDeferUpdatesSOFTChris Robinson2011-08-301-8/+8
|
* Rename GetReffedContext to GetContextRefChris Robinson2011-08-309-17/+17
|
* Use a more appropriate error for trying to delete an effect slot that's in useChris Robinson2011-08-301-1/+1
|
* Hold the lock only as needed when generating and deleting effect slotsChris Robinson2011-08-301-17/+16
|
* Add a limit to the UIntMap size and use it for sources and effect slotsChris Robinson2011-08-305-21/+20
|
* Use a separate array for the auxiliary slots in the mixerChris Robinson2011-08-304-32/+94
|
* Fix compilation with MSVCChris Robinson2011-08-301-2/+2
|
* Add functions to retrieve the source from the source map while removing itChris Robinson2011-08-303-7/+34
|
* Use a RWLock and atomic exchanges for thunk handlingChris Robinson2011-08-301-31/+31
|
* 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-305-10/+10
|
* Do a pointer exchange when replacing the source buffer queueChris Robinson2011-08-292-16/+33
|
* Use the reference counting functions for the buffer and auxiliary slot refsChris Robinson2011-08-296-20/+20
|
* Hold the context lock as needed while generating and deleting sourcesChris Robinson2011-08-291-19/+20
|
* Use a generic int type to handle enum swapsChris Robinson2011-08-295-62/+48
|
* Do a compare-exchange to set the context errorChris Robinson2011-08-292-4/+23
| | | | This allows for unlocked context access when getting the error
* Exchange the AL error when retrieving itChris Robinson2011-08-291-2/+1
|
* Make specific functions to lock/unlock UIntMap accessChris Robinson2011-08-294-13/+21
|
* Manually lock the map while iterating through its contentsChris Robinson2011-08-293-0/+13
|
* Use a read-write lock to protect access to the UInt mapsChris Robinson2011-08-292-25/+97
|
* Make the source's NeedsUpdate volatileChris Robinson2011-08-291-1/+1
|
* Do a proper exchange when setting a new stateChris Robinson2011-08-291-2/+1
|
* Lock the context as needed for the defer and process callsChris Robinson2011-08-293-11/+40
|
* Make ALCcontext's DeferUpdates field volatileChris Robinson2011-08-291-1/+1
|
* Hold a reference on the global contextChris Robinson2011-08-291-7/+12
|
* GCC's atomic built-ins were introduced in 4.1.0, so check for that versionChris Robinson2011-08-291-1/+3
|
* Fix typoChris Robinson2011-08-291-1/+1
|
* Use atomic exchanges when checking for updates to objects' internal parametersChris Robinson2011-08-293-22/+44
|
* Use an enum instead of an boolean for some flagsChris Robinson2011-08-293-4/+4
| | | | | They still only hold AL_TRUE or AL_FALSE, but some systems can't properly handle atomic swaps of 1-byte types.
* 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-283-56/+53
|
* 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-283-38/+78
|
* Add reference counting to the ALC contextsChris Robinson2011-08-282-25/+65
|
* Print an error for invalid speaker layout keysChris Robinson2011-08-281-0/+3
|
* Free the WaveIn buffers' data after unpreparing them allChris Robinson2011-08-251-7/+4
|
* Return an ALC error enum from the OpenCapture backend methodChris Robinson2011-08-248-49/+39
|
* Return an ALC error enum from the OpenPlayback backend methodChris Robinson2011-08-2416-76/+65
|
* Remove the Buffer field from the sourceChris Robinson2011-08-233-28/+16
|
* Explicitly set BufferListStart's prev fieldChris Robinson2011-08-231-1/+1
|
* Add AL_SOFTX_deferred_updates to the context's extension listChris Robinson2011-08-221-1/+2
|
* Prevent source and effect slot updates from occuring while updates are deferredChris Robinson2011-08-222-6/+52
|
* Remove some g_ prefixesChris Robinson2011-08-221-26/+26
|