Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Use ALboolean for al_string_empty's return type | Chris Robinson | 2014-04-30 | 2 | -2/+2 |
| | |||||
* | Add a helper VECTOR_FOR_EACH macro | Chris Robinson | 2014-04-30 | 6 | -55/+49 |
| | |||||
* | Use _mm_set_ps() to set an __m128 instead of {} | Chris Robinson | 2014-04-26 | 1 | -2/+2 |
| | |||||
* | Convert the mmdevapi backend to the new backend API | Chris Robinson | 2014-04-25 | 4 | -397/+511 |
| | |||||
* | Use a vector for mmdevapi device lists | Chris Robinson | 2014-04-24 | 1 | -93/+77 |
| | |||||
* | More device list cleanup cleanup | Chris Robinson | 2014-04-24 | 2 | -40/+25 |
| | |||||
* | Use a helper function to clear PulseAudio device lists | Chris Robinson | 2014-04-24 | 1 | -36/+20 |
| | |||||
* | Use a helper method to clear winmm device lists | Chris Robinson | 2014-04-24 | 1 | -20/+15 |
| | |||||
* | Avoid using superfluous LP* types | Chris Robinson | 2014-04-23 | 1 | -10/+10 |
| | |||||
* | Use a RefCount for counting committed winmm buffers | Chris Robinson | 2014-04-23 | 1 | -7/+7 |
| | |||||
* | Avoid forward-declaring backend vtables | Chris Robinson | 2014-04-23 | 4 | -42/+44 |
| | |||||
* | Avoid using assert() in createBackend | Chris Robinson | 2014-04-23 | 2 | -14/+20 |
| | |||||
* | Include FindALSA.cmake | Chris Robinson | 2014-04-23 | 1 | -0/+73 |
| | | | | Older versions of CMake don't seem to have it. |