Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a proper typedef for handling atomic pointer swaps | Chris Robinson | 2012-01-01 | 1 | -3/+3 |
| | |||||
* | Set AL_STOPPED after setting AL_PLAYING when a source has nothing to play | Chris Robinson | 2011-10-15 | 1 | -8/+8 |
| | |||||
* | Use sample frames when handling the buffer length | Chris Robinson | 2011-10-04 | 1 | -63/+53 |
| | |||||
* | Centralize the Lookup and Remove macros | Chris Robinson | 2011-09-24 | 1 | -39/+30 |
| | |||||
* | Silence some MSVC precision warnings | Chris Robinson | 2011-09-22 | 1 | -3/+3 |
| | |||||
* | Return int and float config values through a parameter | Chris Robinson | 2011-09-18 | 1 | -1/+1 |
| | | | | | This allows the getter functions to return whether or not the option exists without a separate call and check. | ||||
* | Remove GetLockedContext | Chris Robinson | 2011-09-11 | 1 | -12/+29 |
| | |||||
* | Use a RWLock to protect access to a buffer instead of the device lock | Chris Robinson | 2011-09-11 | 1 | -40/+46 |
| | |||||
* | Small fixes to setting the source's direct filter and auxiliary send | Chris Robinson | 2011-09-11 | 1 | -5/+5 |
| | |||||
* | Avoid holding the context lock while setting source parameters | Chris Robinson | 2011-09-11 | 1 | -37/+74 |
| | | | | Note that some parameters still need the lock when getting or setting them. | ||||
* | Initialize source parameters before adding the source to the map | Chris Robinson | 2011-09-10 | 1 | -1/+1 |
| | |||||
* | Don't defer stopped and initial source state changes | Chris Robinson | 2011-09-10 | 1 | -4/+4 |
| | | | | | | | Typically when these are set, an app will be releasing the buffer from the source, possibly to immediately reuse it. There would be an extra burden placed on the app if it was required to process updates before it could fully release the buffer from the source. | ||||
* | Store the filter gains directly in the source instead of duplicate filter ↵ | Chris Robinson | 2011-08-31 | 1 | -10/+22 |
| | | | | objects | ||||
* | Rename GetReffedContext to GetContextRef | Chris Robinson | 2011-08-30 | 1 | -3/+3 |
| | |||||
* | Add a limit to the UIntMap size and use it for sources and effect slots | Chris Robinson | 2011-08-30 | 1 | -8/+1 |
| | |||||
* | Add functions to retrieve the source from the source map while removing it | Chris Robinson | 2011-08-30 | 1 | -7/+4 |
| | |||||
* | Lock the context while deleting sources only as needed | Chris Robinson | 2011-08-30 | 1 | -6/+14 |
| | |||||
* | Don't lock the context while checking the validity of objects | Chris Robinson | 2011-08-30 | 1 | -2/+2 |
| | |||||
* | Do a pointer exchange when replacing the source buffer queue | Chris Robinson | 2011-08-29 | 1 | -16/+17 |
| | |||||
* | Use the reference counting functions for the buffer and auxiliary slot refs | Chris Robinson | 2011-08-29 | 1 | -11/+11 |
| | |||||
* | Hold the context lock as needed while generating and deleting sources | Chris Robinson | 2011-08-29 | 1 | -19/+20 |
| | |||||
* | Remove the Buffer field from the source | Chris Robinson | 2011-08-23 | 1 | -24/+15 |
| | |||||
* | Explicitly set BufferListStart's prev field | Chris Robinson | 2011-08-23 | 1 | -1/+1 |
| | |||||
* | Always use the thunk functions to get object IDs | Chris Robinson | 2011-08-22 | 1 | -4/+4 |
| | |||||
* | Don't use the thunk array for object lookups | Chris Robinson | 2011-08-22 | 1 | -7/+7 |
| | |||||
* | Defer source offset changes requested by the app | Chris Robinson | 2011-08-21 | 1 | -4/+5 |
| | |||||
* | 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 | 1 | -4/+9 |
| | |||||
* | Use a separate function to set the source state | Chris Robinson | 2011-08-20 | 1 | -87/+109 |
| | |||||
* | Make sure source vectors are finite values | Chris Robinson | 2011-07-20 | 1 | -12/+27 |
| | |||||
* | Fade between HRTF coefficients, to reduce noise from sudden changes | Chris Robinson | 2011-07-16 | 1 | -11/+23 |
| | |||||
* | Get rid of a couple typedefs | Chris Robinson | 2011-07-02 | 1 | -1/+1 |
| | |||||
* | Rename Suspend/ProcessContext since they are locking a mutex | Chris Robinson | 2011-06-30 | 1 | -42/+42 |
| | |||||
* | Add a source property to skip channel virtualization for multi-channel buffers | Chris Robinson | 2011-06-29 | 1 | -0/+17 |
| | | | | | | | | | With virtualization disabled, channels are mapped directly from input to output and any input channel that is missing an output is dropped. Any virtualization effects (such as HRTF filters) for positional cues are also skipped. The idea is to allow applications a way to play pre-filtered audio that channel vitualization effects could interfere with. | ||||
* | Select the mixer during a source update | Chris Robinson | 2011-06-25 | 1 | -2/+0 |
| | |||||
* | Allow alThunkAddEntry to return a proper error | Chris Robinson | 2011-06-17 | 1 | -3/+3 |
| | |||||
* | Use separate lines for HRTF history and values | Chris Robinson | 2011-06-17 | 1 | -2/+4 |
| | |||||
* | Handle the device's disconnected status earlier when playing a source | Chris Robinson | 2011-06-17 | 1 | -17/+8 |
| | |||||
* | Avoid calling some AL functions from under the context lock | Chris Robinson | 2011-06-16 | 1 | -123/+147 |
| | | | | | | | There are still some more occurances to clear out (deletion in gen error, effects, some filters), which shall be coming up. There is a possibility for a deadlock between the listlock and the global/context lock, if another attempt to get the listlock is made while under the context lock. | ||||
* | Use a minimum phase HRTF data set | Chris Robinson | 2011-06-03 | 1 | -2/+5 |
| | | | | This reduces the coefficient size from 128 down to 32, with a set of delays | ||||
* | Avoid looking in the buffer queue to find the frame size | Chris Robinson | 2011-05-18 | 1 | -0/+2 |
| | |||||
* | Make mixers channel-count agnostic | Chris Robinson | 2011-05-17 | 1 | -0/+2 |
| | | | | As a result, this combines/removes a bunch of mixers | ||||
* | Use function pointers to call the source mixer | Chris Robinson | 2011-05-06 | 1 | -0/+2 |
| | |||||
* | Implement HRTF mixers for multi-channel sources | Chris Robinson | 2011-05-02 | 1 | -2/+6 |
| | |||||
* | Add an HRTF filter for mono sources | Chris Robinson | 2011-05-01 | 1 | -0/+4 |
| | | | | | | | | | | The data is based on the KEMAR HRTF data provided by MIT, which can be found at <http://sound.media.mit.edu/resources/KEMAR.html>. The compact measurements were used. See hrtf_tables.inc for more information. The filter is only available for stereo output, using a 44100hz playback rate. Note also that it currently only applies to mono sounds, and the cf_level and head_dampen config options are ignored while it is active. | ||||
* | BufferFreq doesn't need to be a float | Chris Robinson | 2011-02-09 | 1 | -2/+2 |
| | |||||
* | Constify some variables | Chris Robinson | 2010-12-09 | 1 | -15/+15 |
| | |||||
* | No need to clamp the app-specified pitch | Chris Robinson | 2010-12-03 | 1 | -2/+0 |
| | |||||
* | Rename SrcFmt -> UserFmt | Chris Robinson | 2010-12-03 | 1 | -6/+6 |
| | |||||
* | Reorder some parameters for consistency | Chris Robinson | 2010-11-29 | 1 | -4/+4 |
| |