Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update the examples to use SDL2 | Chris Robinson | 2014-05-23 | 4 | -301/+499 |
| | | | | | | This should make it easier to build the examples on 64-bit, where there are no premade dev libs for SDL1 on 64-bit mingw. FindSDL_sound.cmake has been updated to accept SDL or SDL2. | ||||
* | Mark a few more functions as const | Chris Robinson | 2014-05-23 | 3 | -12/+12 |
| | |||||
* | Rename CONST_FUNC and PRINTF_STYLE, and fix non-GNU AL_PRINT | Chris Robinson | 2014-05-23 | 1 | -10/+10 |
| | |||||
* | AL_SOFT_block_alignment is now considered done | Chris Robinson | 2014-05-22 | 3 | -7/+7 |
| | |||||
* | Ensure a proper amount of new elements are being reserved when inserting | Chris Robinson | 2014-05-22 | 1 | -1/+5 |
| | |||||
* | Include strings.h if it exists for strncasecmp | Chris Robinson | 2014-05-22 | 1 | -1/+3 |
| | |||||
* | Add a needed header for the CoreAudio backend | Chris Robinson | 2014-05-22 | 1 | -0/+1 |
| | |||||
* | Use the first non-0-length buffer when starting a source | Chris Robinson | 2014-05-22 | 1 | -1/+1 |
| | |||||
* | Don't try to use the non-standard alloca.h | Chris Robinson | 2014-05-22 | 1 | -8/+1 |
| | | | | | Variable-length arrays are C99 standard and are preferred over alloca. The only compiler that needs alloca (MSVC) has it in malloc.h. | ||||
* | Use an unsigned type for the win32 size_t formatter | Chris Robinson | 2014-05-22 | 1 | -1/+1 |
| | |||||
* | Mark some functions as const | Chris Robinson | 2014-05-22 | 1 | -5/+7 |
| | |||||
* | The lower value of the gain vector contains the closest target value | Chris Robinson | 2014-05-21 | 1 | -2/+2 |
| | |||||
* | Don't clear the current and step gain values when updating a source | Chris Robinson | 2014-05-21 | 1 | -89/+66 |
| | |||||
* | Use the current buffer item for static sources too | Chris Robinson | 2014-05-21 | 1 | -1/+1 |
| | |||||
* | Copy samples if needed in the 'copy' resampler | Chris Robinson | 2014-05-21 | 1 | -9/+15 |
| | |||||
* | Properly process all samples with a bandpass filter | Chris Robinson | 2014-05-21 | 1 | -2/+2 |
| | |||||
* | Use the correct input for HRTF mixing | Chris Robinson | 2014-05-21 | 1 | -1/+1 |
| | |||||
* | Update the active source's direct and send properties after each mix | Chris Robinson | 2014-05-21 | 1 | -10/+9 |
| | |||||
* | Add some asserts to verify block alignment for conversion | Chris Robinson | 2014-05-20 | 1 | -0/+8 |
| | |||||
* | Return a sample pointer from resamplers | Chris Robinson | 2014-05-19 | 5 | -24/+27 |
| | | | | Both resampling and filtering now avoid copying samples when they no-op. | ||||
* | Put per-channel filter properties together | Chris Robinson | 2014-05-19 | 3 | -39/+46 |
| | |||||
* | Return a sample pointer from DoFilters | Chris Robinson | 2014-05-19 | 1 | -14/+18 |
| | | | | | This allows us to avoid copying samples when no filtering is needed. Doing the same for resampling would require another temporary buffer in the device. | ||||
* | Move an HRTF mixer parameter and shorten a couple variable names | Chris Robinson | 2014-05-18 | 4 | -33/+28 |
| | |||||
* | Don't pass the SendParams to the wet-path mixer | Chris Robinson | 2014-05-18 | 6 | -41/+44 |
| | |||||
* | Don't pass the DirectParams to the dry-path mixer | Chris Robinson | 2014-05-18 | 7 | -96/+119 |
| | |||||
* | Use different parameters for HRTF mixers | Chris Robinson | 2014-05-18 | 6 | -29/+51 |
| | |||||
* | Pass some DirectParams as function parameters | Chris Robinson | 2014-05-18 | 7 | -29/+40 |
| | |||||
* | Use _mm_setr_ps instead of _mm_set_ps | Chris Robinson | 2014-05-18 | 1 | -4/+4 |
| | | | | | Apparently _mm_set_ps loads in reverse order compared to _mm_load_ps, so _mm_setr_ps should give what we really want. | ||||
* | Add a ALfilterState method to process multiple samples at once | Chris Robinson | 2014-05-18 | 4 | -9/+26 |
| | |||||
* | Reset filter properties when setting a null filter type | Chris Robinson | 2014-05-17 | 1 | -0/+6 |
| | |||||
* | Support the band-pass filter | Chris Robinson | 2014-05-17 | 2 | -3/+88 |
| | |||||
* | Apply high-pass source filters as needed | Chris Robinson | 2014-05-17 | 5 | -10/+88 |
| | |||||
* | Implementing handling high-pass filter properties | Chris Robinson | 2014-05-17 | 3 | -2/+82 |
| | |||||
* | Add a flag to specify when the low-pass filter needs to apply | Chris Robinson | 2014-05-17 | 3 | -29/+54 |
| | |||||
* | Use logarithmic adjustment for the gain in the autowah effect | Chris Robinson | 2014-05-17 | 1 | -7/+7 |
| | |||||
* | Document the different filter types, and combine some split lines | Chris Robinson | 2014-05-17 | 2 | -36/+20 |
| | |||||
* | Rename freq_scale parameter to freq_mult | Chris Robinson | 2014-05-17 | 2 | -3/+3 |
| | |||||
* | Ensure that LoopEnd > LoopStart | Chris Robinson | 2014-05-15 | 1 | -0/+1 |
| | | | | | | For the benefit of Clang's static analysis, which doesn't know that a static source will always have a valid buffer and a buffer must have a non-0 loop range. | ||||
* | Initialize a pointer to NULL instead of a string | Chris Robinson | 2014-05-15 | 1 | -2/+1 |
| | |||||
* | Don't bother stripping whitespace from comments | Chris Robinson | 2014-05-15 | 1 | -5/+1 |
| | |||||
* | Early-out when outN is 0 | Chris Robinson | 2014-05-15 | 1 | -0/+3 |
| | |||||
* | Remove some unnecessary casts | Chris Robinson | 2014-05-15 | 1 | -12/+13 |
| | |||||
* | Initialize some variables when declaring them | Chris Robinson | 2014-05-15 | 1 | -4/+2 |
| | |||||
* | Initialize newformat to AL_NONE instead of a valid format | Chris Robinson | 2014-05-15 | 1 | -6/+2 |
| | |||||
* | 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. |