aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Rename a couple variablesChris Robinson2011-08-221-7/+7
|
* Always use the thunk functions to get object IDsChris Robinson2011-08-228-53/+35
|
* Don't use the thunk array for object lookupsChris Robinson2011-08-227-45/+23
|
* Defer source offset changes requested by the appChris Robinson2011-08-213-8/+14
|
* 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-203-5/+27
|
* Use a separate function to set the source stateChris Robinson2011-08-202-87/+110
|
* Remove some spacesChris Robinson2011-08-201-2/+0
|
* Move the GUID initialization to the helperChris Robinson2011-08-202-21/+21
|
* Set the loopback backend functions firstChris Robinson2011-08-201-1/+1
|
* Print the ALC_DEFAULT_ALL_DEVICES_SPECIFIER when availableChris Robinson2011-08-201-2/+6
|
* Move some functions into a separate helper source fileChris Robinson2011-08-204-392/+422
|
* Don't enumerate "PulseAudio Default" in the ALL_DEVICES listChris Robinson2011-08-201-18/+6
|
* Don't expose "DirectSound Default" in the ALL_DEVICES listChris Robinson2011-08-201-14/+1
| | | | | This is under the assumption that one of the devices in ALL_DEVICES corresponds to the default. This is not true for all backends (eg, ALSA).
* More closely emulate pthread_once in WindowsChris Robinson2011-08-201-11/+11
|
* Move backend sources to a separate sub-directoryChris Robinson2011-08-2015-14/+15
|
* Use the proper variable typeChris Robinson2011-08-191-1/+1
|
* Use the string ID instead of numeral index to reference the ALSA cardChris Robinson2011-08-192-9/+28
| | | | The index has a habit of changing, where the ID should be more consistent.