aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
Commit message (Collapse)AuthorAgeFilesLines
* 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-302-10/+17
|
* Use a separate array for the auxiliary slots in the mixerChris Robinson2011-08-302-16/+21
|
* Add functions to retrieve the source from the source map while removing itChris Robinson2011-08-301-0/+29
|
* Use the reference counting functions for the buffer and auxiliary slot refsChris Robinson2011-08-291-1/+1
|
* Use a generic int type to handle enum swapsChris Robinson2011-08-292-5/+5
|
* Make specific functions to lock/unlock UIntMap accessChris Robinson2011-08-292-9/+9
|
* Manually lock the map while iterating through its contentsChris Robinson2011-08-292-0/+9
|
* Use a read-write lock to protect access to the UInt mapsChris Robinson2011-08-291-7/+65
|
* 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
|
* Use atomic exchanges when checking for updates to objects' internal parametersChris Robinson2011-08-291-14/+6
|
* 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-282-54/+51
|
* 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-282-12/+54
|
* Add reference counting to the ALC contextsChris Robinson2011-08-281-25/+33
|
* 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-247-48/+38
|
* Return an ALC error enum from the OpenPlayback backend methodChris Robinson2011-08-2415-75/+64
|
* Remove the Buffer field from the sourceChris Robinson2011-08-231-2/+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-221-5/+9
|
* 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-202-21/+21
|
* Set the loopback backend functions firstChris Robinson2011-08-201-1/+1
|
* Move some functions into a separate helper source fileChris Robinson2011-08-202-388/+402
|
* 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-2014-0/+0
|
* 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-191-7/+26
| | | | The index has a habit of changing, where the ID should be more consistent.
* Add options to specify alternate ALSA device prefixesChris Robinson2011-08-191-5/+12
|
* Don't scale the wet send by the number of channelsChris Robinson2011-08-191-2/+1
| | | | | Each channel should be treated as a distinct audio source, so multiple channels should act as multiple sources.
* 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
|
* Remove the "via *" portion of the enumerated devicesChris Robinson2011-08-194-11/+11
|
* 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).
* Attempt to connect a context when pulseaudio initializesChris Robinson2011-08-191-60/+92
|
* Use separate lists for playback and capture backendsChris Robinson2011-08-198-140/+58
|
* Remove a typedefChris Robinson2011-08-181-5/+5
|
* Load backend libs on initChris Robinson2011-08-184-52/+28
|