summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update the examples to use SDL2Chris Robinson2014-05-234-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 constChris Robinson2014-05-233-12/+12
|
* Rename CONST_FUNC and PRINTF_STYLE, and fix non-GNU AL_PRINTChris Robinson2014-05-231-10/+10
|
* AL_SOFT_block_alignment is now considered doneChris Robinson2014-05-223-7/+7
|
* Ensure a proper amount of new elements are being reserved when insertingChris Robinson2014-05-221-1/+5
|
* Include strings.h if it exists for strncasecmpChris Robinson2014-05-221-1/+3
|
* Add a needed header for the CoreAudio backendChris Robinson2014-05-221-0/+1
|
* Use the first non-0-length buffer when starting a sourceChris Robinson2014-05-221-1/+1
|
* Don't try to use the non-standard alloca.hChris Robinson2014-05-221-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 formatterChris Robinson2014-05-221-1/+1
|
* Mark some functions as constChris Robinson2014-05-221-5/+7
|
* The lower value of the gain vector contains the closest target valueChris Robinson2014-05-211-2/+2
|
* Don't clear the current and step gain values when updating a sourceChris Robinson2014-05-211-89/+66
|
* Use the current buffer item for static sources tooChris Robinson2014-05-211-1/+1
|
* Copy samples if needed in the 'copy' resamplerChris Robinson2014-05-211-9/+15
|
* Properly process all samples with a bandpass filterChris Robinson2014-05-211-2/+2
|
* Use the correct input for HRTF mixingChris Robinson2014-05-211-1/+1
|
* Update the active source's direct and send properties after each mixChris Robinson2014-05-211-10/+9
|
* Add some asserts to verify block alignment for conversionChris Robinson2014-05-201-0/+8
|
* Return a sample pointer from resamplersChris Robinson2014-05-195-24/+27
| | | | Both resampling and filtering now avoid copying samples when they no-op.
* Put per-channel filter properties togetherChris Robinson2014-05-193-39/+46
|
* Return a sample pointer from DoFiltersChris Robinson2014-05-191-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 namesChris Robinson2014-05-184-33/+28
|
* Don't pass the SendParams to the wet-path mixerChris Robinson2014-05-186-41/+44
|
* Don't pass the DirectParams to the dry-path mixerChris Robinson2014-05-187-96/+119
|
* Use different parameters for HRTF mixersChris Robinson2014-05-186-29/+51
|
* Pass some DirectParams as function parametersChris Robinson2014-05-187-29/+40
|
* Use _mm_setr_ps instead of _mm_set_psChris Robinson2014-05-181-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 onceChris Robinson2014-05-184-9/+26
|
* Reset filter properties when setting a null filter typeChris Robinson2014-05-171-0/+6
|
* Support the band-pass filterChris Robinson2014-05-172-3/+88
|
* Apply high-pass source filters as neededChris Robinson2014-05-175-10/+88
|
* Implementing handling high-pass filter propertiesChris Robinson2014-05-173-2/+82
|
* Add a flag to specify when the low-pass filter needs to applyChris Robinson2014-05-173-29/+54
|
* Use logarithmic adjustment for the gain in the autowah effectChris Robinson2014-05-171-7/+7
|
* Document the different filter types, and combine some split linesChris Robinson2014-05-172-36/+20
|
* Rename freq_scale parameter to freq_multChris Robinson2014-05-172-3/+3
|
* Ensure that LoopEnd > LoopStartChris Robinson2014-05-151-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 stringChris Robinson2014-05-151-2/+1
|
* Don't bother stripping whitespace from commentsChris Robinson2014-05-151-5/+1
|
* Early-out when outN is 0Chris Robinson2014-05-151-0/+3
|
* Remove some unnecessary castsChris Robinson2014-05-151-12/+13
|
* Initialize some variables when declaring themChris Robinson2014-05-151-4/+2
|
* Initialize newformat to AL_NONE instead of a valid formatChris Robinson2014-05-151-6/+2
|
* Use an enum for the chorus and flanger waveformsChris Robinson2014-05-142-16/+54
|
* Don't try to read the internal capture buffer into itselfChris Robinson2014-05-141-6/+9
|
* Remove a dead assignmentChris Robinson2014-05-141-1/+0
|
* Add a couple asserts to ensure a proper bufferChris Robinson2014-05-141-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 bufferChris Robinson2014-05-141-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 typeChris Robinson2014-05-1414-70/+88
| | | | | It should only be accessed through the appropriate functions to ensure proper atomicity.