Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Manually lock the map while iterating through its contents | Chris Robinson | 2011-08-29 | 3 | -0/+13 |
| | |||||
* | Use a read-write lock to protect access to the UInt maps | Chris Robinson | 2011-08-29 | 2 | -25/+97 |
| | |||||
* | Make the source's NeedsUpdate volatile | Chris Robinson | 2011-08-29 | 1 | -1/+1 |
| | |||||
* | Do a proper exchange when setting a new state | Chris Robinson | 2011-08-29 | 1 | -2/+1 |
| | |||||
* | Lock the context as needed for the defer and process calls | Chris Robinson | 2011-08-29 | 3 | -11/+40 |
| | |||||
* | Make ALCcontext's DeferUpdates field volatile | Chris Robinson | 2011-08-29 | 1 | -1/+1 |
| | |||||
* | Hold a reference on the global context | Chris Robinson | 2011-08-29 | 1 | -7/+12 |
| | |||||
* | GCC's atomic built-ins were introduced in 4.1.0, so check for that version | Chris Robinson | 2011-08-29 | 1 | -1/+3 |
| | |||||
* | Fix typo | Chris Robinson | 2011-08-29 | 1 | -1/+1 |
| | |||||
* | Use atomic exchanges when checking for updates to objects' internal parameters | Chris Robinson | 2011-08-29 | 3 | -22/+44 |
| | |||||
* | Use an enum instead of an boolean for some flags | Chris Robinson | 2011-08-29 | 3 | -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 locking | Chris Robinson | 2011-08-28 | 1 | -46/+38 |
| | |||||
* | Use a list of contexts in the device instead of an array | Chris Robinson | 2011-08-28 | 3 | -56/+53 |
| | |||||
* | Avoid a global list of contexts | Chris Robinson | 2011-08-28 | 1 | -26/+17 |
| | |||||
* | Check if the context is valid only if it's replacing the current thread context | Chris Robinson | 2011-08-28 | 1 | -12/+11 |
| | |||||
* | Hold a reference on the context when being set as current on the thread | Chris Robinson | 2011-08-28 | 1 | -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_DecRef | Chris Robinson | 2011-08-28 | 1 | -2/+2 |
| | |||||
* | Emulate pthread TLS functions in Windows | Chris Robinson | 2011-08-28 | 3 | -38/+78 |
| | |||||
* | Add reference counting to the ALC contexts | Chris Robinson | 2011-08-28 | 2 | -25/+65 |
| | |||||
* | Print an error for invalid speaker layout keys | Chris Robinson | 2011-08-28 | 1 | -0/+3 |
| | |||||
* | Free the WaveIn buffers' data after unpreparing them all | Chris Robinson | 2011-08-25 | 1 | -7/+4 |
| | |||||
* | Return an ALC error enum from the OpenCapture backend method | Chris Robinson | 2011-08-24 | 8 | -49/+39 |
| | |||||
* | Return an ALC error enum from the OpenPlayback backend method | Chris Robinson | 2011-08-24 | 16 | -76/+65 |
| | |||||
* | Remove the Buffer field from the source | Chris Robinson | 2011-08-23 | 3 | -28/+16 |
| | |||||
* | Explicitly set BufferListStart's prev field | Chris Robinson | 2011-08-23 | 1 | -1/+1 |
| | |||||
* | Add AL_SOFTX_deferred_updates to the context's extension list | Chris Robinson | 2011-08-22 | 1 | -1/+2 |
| | |||||
* | Prevent source and effect slot updates from occuring while updates are deferred | Chris Robinson | 2011-08-22 | 2 | -6/+52 |
| | |||||
* | Remove some g_ prefixes | Chris Robinson | 2011-08-22 | 1 | -26/+26 |
| | |||||
* | Rename a couple variables | Chris Robinson | 2011-08-22 | 1 | -7/+7 |
| | |||||
* | Always use the thunk functions to get object IDs | Chris Robinson | 2011-08-22 | 8 | -53/+35 |
| | |||||
* | Don't use the thunk array for object lookups | Chris Robinson | 2011-08-22 | 7 | -45/+23 |
| | |||||
* | Defer source offset changes requested by the app | Chris Robinson | 2011-08-21 | 3 | -8/+14 |
| | |||||
* | Use -1 to mark an invalid source offset instead of 0 | Chris Robinson | 2011-08-21 | 1 | -5/+6 |
| | |||||
* | Defer source state changes from alSourcePlay/Pause/Stop/Rewind calls | Chris Robinson | 2011-08-20 | 3 | -5/+27 |
| | |||||
* | Use a separate function to set the source state | Chris Robinson | 2011-08-20 | 2 | -87/+110 |
| | |||||
* | Remove some spaces | Chris Robinson | 2011-08-20 | 1 | -2/+0 |
| | |||||
* | Move the GUID initialization to the helper | Chris Robinson | 2011-08-20 | 2 | -21/+21 |
| | |||||
* | Set the loopback backend functions first | Chris Robinson | 2011-08-20 | 1 | -1/+1 |
| | |||||
* | Print the ALC_DEFAULT_ALL_DEVICES_SPECIFIER when available | Chris Robinson | 2011-08-20 | 1 | -2/+6 |
| | |||||
* | Move some functions into a separate helper source file | Chris Robinson | 2011-08-20 | 4 | -392/+422 |
| | |||||
* | Don't enumerate "PulseAudio Default" in the ALL_DEVICES list | Chris Robinson | 2011-08-20 | 1 | -18/+6 |
| | |||||
* | Don't expose "DirectSound Default" in the ALL_DEVICES list | Chris Robinson | 2011-08-20 | 1 | -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 Windows | Chris Robinson | 2011-08-20 | 1 | -11/+11 |
| | |||||
* | Move backend sources to a separate sub-directory | Chris Robinson | 2011-08-20 | 15 | -14/+15 |
| | |||||
* | Use the proper variable type | Chris Robinson | 2011-08-19 | 1 | -1/+1 |
| | |||||
* | Use the string ID instead of numeral index to reference the ALSA card | Chris Robinson | 2011-08-19 | 2 | -9/+28 |
| | | | | The index has a habit of changing, where the ID should be more consistent. | ||||
* | Add options to specify alternate ALSA device prefixes | Chris Robinson | 2011-08-19 | 2 | -5/+24 |
| | |||||
* | Don't scale the wet send by the number of channels | Chris Robinson | 2011-08-19 | 1 | -2/+1 |
| | | | | | Each channel should be treated as a distinct audio source, so multiple channels should act as multiple sources. | ||||
* | Remove a couple unneeded variables | Chris Robinson | 2011-08-19 | 1 | -14/+6 |
| | |||||
* | Delete the mutex if the device fails to open | Chris Robinson | 2011-08-19 | 1 | -0/+2 |
| |