Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use an enum for the chorus and flanger waveforms | Chris Robinson | 2014-05-14 | 2 | -16/+54 |
| | |||||
* | Don't try to read the internal capture buffer into itself | Chris Robinson | 2014-05-14 | 1 | -6/+9 |
| | |||||
* | Remove a dead assignment | Chris Robinson | 2014-05-14 | 1 | -1/+0 |
| | |||||
* | Add a couple asserts to ensure a proper buffer | Chris Robinson | 2014-05-14 | 1 | -0/+3 |
| | | | | | | It should not be possible for a playing or paused source to not have a valid buffer, but Clang's static analyzer doesn't know that. Hopefully an assert will convince it. | ||||
* | Avoid freeing an in-use capture buffer | Chris Robinson | 2014-05-14 | 1 | -5/+3 |
| | | | | | When stopping, ALSA may capture into its own storage buffer. Do not free the storage buffer if it first reads from it. | ||||
* | Make RefCount a non-integer type | Chris Robinson | 2014-05-14 | 14 | -70/+88 |
| | | | | | It should only be accessed through the appropriate functions to ensure proper atomicity. | ||||
* | Add HF Reference as a filter property | Chris Robinson | 2014-05-14 | 3 | -0/+6 |
| | |||||
* | Make LOWPASSFREQREF a float value | Chris Robinson | 2014-05-11 | 4 | -5/+5 |
| | |||||
* | Store the filter reference frequency in the source | Chris Robinson | 2014-05-11 | 3 | -12/+24 |
| | |||||
* | Update the source send target gains properly | Chris Robinson | 2014-05-11 | 1 | -4/+4 |
| | |||||
* | Avoid locking the mixer when unqueueing buffers | Chris Robinson | 2014-05-11 | 1 | -4/+16 |
| | |||||
* | Avoid accessing the source's buffer queue head multiple times | Chris Robinson | 2014-05-11 | 1 | -17/+16 |
| | |||||
* | Use a struct to store the source's direct gain/gainhf properties | Chris Robinson | 2014-05-11 | 3 | -15/+16 |
| | |||||
* | Don't mix old- and new-style FIND_PACKAGE_HANDLE_STANDARD_ARGS calls | Chris Robinson | 2014-05-10 | 1 | -6/+2 |
| | | | | | | | Some (all?) versions of cmake seem to get a bit confused when an old-style FIND_PACKAGE_HANDLE_STANDARD_ARGS call fails, and the scripts attempt a new- style call later on. It continues to think it's using old-style, acting as if REQUIRED_VARS is the message and looks for a VERSION_VAR variable. | ||||
* | Avoid locking the mixer while queueing buffers onto a source. | Chris Robinson | 2014-05-10 | 1 | -24/+34 |
| | |||||
* | Mark the buffer queue pointers volatile | Chris Robinson | 2014-05-10 | 1 | -2/+2 |
| | |||||
* | Add a missing pointer init | Chris Robinson | 2014-05-10 | 1 | -3/+3 |
| | |||||
* | Update the output buffer pointer in the Write_* methods | Chris Robinson | 2014-05-10 | 1 | -15/+11 |
| | |||||
* | Add a couple consts | Chris Robinson | 2014-05-10 | 1 | -2/+2 |
| | |||||
* | Explicit init the source queue and current_buffer pointers | Chris Robinson | 2014-05-10 | 1 | -0/+3 |
| | |||||
* | Use a RWLock to help protect the source's buffer queue | Chris Robinson | 2014-05-10 | 3 | -35/+61 |
| | | | | | In some instances this allows to to remove the device/mixer lock, or reduce how long it's held. | ||||
* | Don't explicitly store the BuffersInQueue | Chris Robinson | 2014-05-10 | 2 | -10/+14 |
| | |||||
* | Store the current buffer queue item, rather than played buffer count | Chris Robinson | 2014-05-10 | 4 | -101/+76 |
| | |||||
* | Avoid checking the previous buffer multiple times | Chris Robinson | 2014-05-10 | 1 | -9/+9 |
| | |||||
* | Append the number of bits, not bytes, to types | Chris Robinson | 2014-05-08 | 1 | -37/+27 |
| | | | | Also use ALuint64SOFT from alext.h for uint64 | ||||
* | Always use unsigned int for RefCount | Chris Robinson | 2014-05-07 | 1 | -18/+22 |
| | |||||
* | Build a common static lib for reusable code | Chris Robinson | 2014-05-07 | 1 | -3/+15 |
| | |||||
* | Move RWLock and UIntMap implementations to common | Chris Robinson | 2014-05-07 | 6 | -187/+208 |
| | | | | This should make the code in common completely self-reliant. | ||||
* | Make sure FILETIME and ULARGE_INTEGER sizes match | Chris Robinson | 2014-05-07 | 1 | -0/+2 |
| | |||||
* | Move the static_assert definition to its own header | Chris Robinson | 2014-05-07 | 3 | -10/+20 |
| | |||||
* | Use standard types for the RWLock | Chris Robinson | 2014-05-07 | 2 | -12/+12 |
| | |||||
* | Check for C99 _Bool support | Chris Robinson | 2014-05-06 | 3 | -0/+35 |
| | |||||
* | Move atomic method definitions to a separate common source | Chris Robinson | 2014-05-06 | 3 | -8/+14 |
| | |||||
* | Move threads.c to a separate source dir | Chris Robinson | 2014-05-06 | 2 | -11/+25 |
| | | | | | This will eventually serve to build a static lib of common wrapper methods, such as threads, mutexes, atomics, etc. | ||||
* | Move some headers to include/ | Chris Robinson | 2014-05-06 | 3 | -1/+1 |
| | | | | Note, these are not installed. Only headers in include/AL/ are installed. | ||||
* | Use gettimeofday if clock_gettime isn't available | Chris Robinson | 2014-05-06 | 1 | -5/+11 |
| | |||||
* | Test _Alignas with 16 instead of 4 | Chris Robinson | 2014-05-05 | 1 | -1/+1 |
| | |||||
* | C11's alignas is also sufficient for SSE aligning | Chris Robinson | 2014-05-05 | 1 | -7/+9 |
| | |||||
* | Add a cast to silence an MSVC warning | Chris Robinson | 2014-05-04 | 1 | -2/+3 |
| | |||||
* | Trace skipped info sub-chunks | Chris Robinson | 2014-05-04 | 1 | -0/+2 |
| | |||||
* | Use ALuint for the amount to skip | Chris Robinson | 2014-05-04 | 1 | -1/+1 |
| | |||||
* | Don't use the next power of two when duplicating config values | Chris Robinson | 2014-05-04 | 1 | -1/+1 |
| | | | | Speed isn't terribly important here, and reallocs should be extremely rare. | ||||
* | Remove unnecessary ifdefs | Chris Robinson | 2014-05-04 | 2 | -4/+0 |
| | | | | | mixer_sse.c and mixer_neon.c are only compiled when the relavent headers are found anyway. | ||||
* | Always use the current gains when mixing | Chris Robinson | 2014-05-04 | 3 | -17/+22 |
| | | | | | | The current gain gets explicitly set to the target when the stepping is finished to ensure the target is still used. This way, however, will allow for asynchronously 'canceling' a fade by setting the counter to 0. | ||||
* | Better pack HRTF mixing properties | Chris Robinson | 2014-05-03 | 4 | -70/+65 |
| | |||||
* | Clamp the current and target gain lower bound to epsilon | Chris Robinson | 2014-05-03 | 2 | -11/+11 |
| | | | | | Should give a bit more wiggle room for the gain stepping to get lower than the silence threshold. | ||||
* | Make sure all gain steps are applied with the SSE and Neon mixers | Chris Robinson | 2014-05-03 | 2 | -44/+22 |
| | |||||
* | Revert e9aee578a797c694655538cd0a00ad6c0bf6d5dc | Chris Robinson | 2014-05-02 | 1 | -2/+2 |
| | | | | | The vector iterator needs to be the start of the Data array even if the vector itself is NULL, or else insertion can have a negative insert position. | ||||
* | Iniitialize some mmdevapi backend fields in the constructor | Chris Robinson | 2014-05-02 | 1 | -0/+23 |
| | |||||
* | Use a backup in case pthread_mutex_timedlock isn't available | Chris Robinson | 2014-05-01 | 3 | -1/+28 |
| |