Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use an ATOMIC_INIT macro instead of ATOMIC_LOAD_UNSAFE | Chris Robinson | 2014-08-03 | 5 | -35/+21 |
| | |||||
* | Use the right type for atomic compare-exchange | Chris Robinson | 2014-08-01 | 1 | -4/+4 |
| | |||||
* | Add some casts for inline assembly atomics | Chris Robinson | 2014-08-01 | 2 | -7/+7 |
| | | | | And remove an unnecessary void cast | ||||
* | Use atomics for the device and context list heads | Chris Robinson | 2014-08-01 | 5 | -76/+112 |
| | |||||
* | Make the source's buffer queue head and current queue item atomic | Chris Robinson | 2014-07-31 | 4 | -76/+89 |
| | |||||
* | Remove an unused function | Chris Robinson | 2014-07-31 | 2 | -9/+0 |
| | |||||
* | Rename ATOMIC_COMPARE_EXCHANGE to ATOMIC_COMPARE_EXCHANGE_STRONG | Chris Robinson | 2014-07-31 | 4 | -13/+7 |
| | |||||
* | Avoid a CPU memory fence, and better order memory barriers to accesses | Chris Robinson | 2014-07-31 | 1 | -13/+32 |
| | | | | | | Code produced by GCC 4.9's C11 atomic implementation does not seem to add a CPU memory fence even with memory_order_seq_cst. Unnecessary memory fences will be a detriment to performance, so they should only be added if needed. | ||||
* | Change Windows-based atomics for non-C99 compilers | Chris Robinson | 2014-07-27 | 1 | -17/+43 |
| | |||||
* | Use a full memory barrier for Windows | Chris Robinson | 2014-07-27 | 1 | -2/+2 |
| | |||||
* | Use pulseaudio's write callback to signal a mixer proc wakeup | Chris Robinson | 2014-07-26 | 1 | -3/+11 |
| | |||||
* | Don't try to use internal visibility | Chris Robinson | 2014-07-26 | 1 | -8/+3 |
| | | | | | A number of functions are passed as callbacks to external libraries, which internal visiiblity doesn't allow. | ||||
* | Always set the active source's update method | Chris Robinson | 2014-07-26 | 1 | -5/+7 |
| | | | | | | | If the source is stopped, changes its buffer, then played again quickly, the source will never be removed from the active source list causing the update method to remain as it was. If the buffer was changed between mono and multi- channel, this causes it to use the wrong method. | ||||
* | Explicitly pass the address of atomics and parameters that can be modified | Chris Robinson | 2014-07-26 | 9 | -130/+130 |
| | |||||
* | Support C11 atomics | Chris Robinson | 2014-07-23 | 5 | -57/+94 |
| | |||||
* | Use generic atomics in more places | Chris Robinson | 2014-07-22 | 9 | -62/+54 |
| | |||||
* | Implement RefCount as a generic atomic type | Chris Robinson | 2014-07-22 | 3 | -159/+116 |
| | |||||
* | Add macros for generic atomic functionality | Chris Robinson | 2014-07-22 | 9 | -86/+195 |
| | |||||
* | Check the current directory first for data files | Chris Robinson | 2014-07-21 | 1 | -2/+16 |
| | |||||
* | Make some functions static | Chris Robinson | 2014-07-20 | 2 | -6/+4 |
| | |||||
* | Use the UNUSED macro instead of a void cast | Chris Robinson | 2014-07-19 | 1 | -2/+1 |
| | |||||
* | Stop trying to read samples if there was an error | Chris Robinson | 2014-07-19 | 1 | -1/+1 |
| | |||||
* | Trace when a soundfont buffer goes unused | Chris Robinson | 2014-07-19 | 1 | -0/+3 |
| | |||||
* | Load the default soundfont as a comma-separate list of filename | Chris Robinson | 2014-07-19 | 1 | -6/+27 |
| | | | | | | This allows multiple soundfont files to be "patched" together to create a single soundfont. For instance a GM soundfont with a separate soundfont for GS-only additions. | ||||
* | Keep existing presets when loading in a new soundfont | Chris Robinson | 2014-07-19 | 1 | -3/+5 |
| | | | | | | Note that alLoadSoundfontSOFT doesn't currently allow using a soundfont with existing presets. This is for being able to load and stack multiple soundfonts for the default soundfont. | ||||
* | Use a macro to specify the fourcc formatters | Chris Robinson | 2014-07-18 | 1 | -21/+22 |
| | |||||
* | Explicitly include libavutil/channel_layout.h for the channel layout stuff | Chris Robinson | 2014-07-18 | 1 | -0/+1 |
| | |||||
* | Properly scale the first HRTF pass-through coefficient | Chris Robinson | 2014-07-17 | 1 | -4/+8 |
| | | | | | Coefficients are scaled by 32767. For pass-through, this is attenuated by sqrt(0.5) to maintain a consistent perceived volume. | ||||
* | Fix typo (overriden -> overridden) | Chris Robinson | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | Cleanup some HRTF code | Chris Robinson | 2014-07-16 | 1 | -68/+53 |
| | | | | Use loops instead of duplicating code, rewrite some lines to be clearer. | ||||
* | Fix omni-directional moving HRTF coeffs | Chris Robinson | 2014-07-14 | 1 | -4/+4 |
| | |||||
* | Add a source radius property that determines the directionality of a sound | Chris Robinson | 2014-07-11 | 5 | -43/+74 |
| | | | | | | | | | At 0 distance from the listener, the sound is omni-directional. As the source and listener become 'radius' units apart, the sound becomes more directional. With HRTF, an omni-directional sound is handled using 0-delay, pass-through filter coefficients, which is blended with the real delay and coefficients as needed to become more directional. | ||||
* | Access the result macro parameter only once | Chris Robinson | 2014-07-06 | 1 | -3/+4 |
| | |||||
* | Rename some functions | Chris Robinson | 2014-07-06 | 1 | -8/+8 |
| | |||||
* | Store 4 modulators per map entry | Chris Robinson | 2014-07-06 | 3 | -24/+31 |
| | |||||
* | Regroup and reorganize some macros | Chris Robinson | 2014-07-06 | 1 | -40/+57 |
| | |||||
* | Use VECTOR_FIND_IF instead of a manual loop | Chris Robinson | 2014-07-06 | 1 | -11/+7 |
| | |||||
* | Allow ALsoundfont_deleteSoundfont to handle multiple buffers | Chris Robinson | 2014-07-06 | 2 | -10/+30 |
| | |||||
* | Don't require pre-declaring vector types | Chris Robinson | 2014-07-06 | 11 | -43/+37 |
| | |||||
* | AL_SOFT_source_length is complete | Chris Robinson | 2014-07-05 | 3 | -2/+9 |
| | |||||
* | Don't set modulators that have no destination | Chris Robinson | 2014-07-05 | 1 | -8/+10 |
| | |||||
* | Avoid aliasing an int array | Chris Robinson | 2014-07-05 | 1 | -4/+4 |
| | |||||
* | Fix a couple checks | Chris Robinson | 2014-07-05 | 1 | -2/+2 |
| | |||||
* | Make some more functions static | Chris Robinson | 2014-07-05 | 2 | -7/+6 |
| | |||||
* | Use a helper function to check valid MIDI controller inputs | Chris Robinson | 2014-07-04 | 4 | -9/+19 |
| | |||||
* | Set the 'valid' field when we have a valid buffer pointer | Chris Robinson | 2014-07-04 | 1 | -3/+1 |
| | |||||
* | Move an inline definition to a more appropriate source | Chris Robinson | 2014-07-04 | 2 | -2/+3 |
| | |||||
* | Make a function static | Chris Robinson | 2014-07-04 | 1 | -2/+2 |
| | |||||
* | AL_SOFT_MSADPCM is functionally complete | Chris Robinson | 2014-07-03 | 3 | -7/+7 |
| | |||||
* | Avoid an undefined allocation of 0 bytes | Chris Robinson | 2014-07-01 | 1 | -1/+2 |
| |