Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use aliases to simplify some time type names | Chris Robinson | 2018-01-01 | 1 | -67/+61 |
| | |||||
* | Wrap av_gettime to ensure it's interpreted as microseconds | Chris Robinson | 2018-01-01 | 1 | -7/+10 |
| | |||||
* | Rename the do_direct_out variable | Chris Robinson | 2018-01-01 | 1 | -3/+3 |
| | |||||
* | Use a less-intense memory order to check for quitting | Chris Robinson | 2018-01-01 | 1 | -9/+9 |
| | |||||
* | Check for AL_SOFT_direct_channels once when initializing | Chris Robinson | 2018-01-01 | 1 | -10/+8 |
| | |||||
* | Declare the total buffer time instead of buffer count | Chris Robinson | 2018-01-01 | 1 | -10/+15 |
| | |||||
* | Use a std::array for the buffers in alffplay | Chris Robinson | 2018-01-01 | 1 | -8/+7 |
| | |||||
* | Use inline member initialization where possible | Chris Robinson | 2018-01-01 | 1 | -86/+69 |
| | |||||
* | Make more values global const | Chris Robinson | 2018-01-01 | 1 | -19/+18 |
| | |||||
* | Use a global to specify alffplay's audio sync threshold | Chris Robinson | 2017-12-31 | 1 | -15/+11 |
| | |||||
* | Avoid dereferencing a NULL pointer | Chris Robinson | 2017-12-31 | 1 | -1/+2 |
| | | | | | | Even though it's taking the address of a member, it's still technically a derefernce and thus undefined behavior. sizeof doesn't "execute" the expression, so derefering in it instead is fine. | ||||
* | Clear the buffer queue when underrun | Chris Robinson | 2017-12-31 | 1 | -1/+3 |
| | |||||
* | Wake up the packet send loop when more frames are needed | Chris Robinson | 2017-12-31 | 1 | -38/+50 |
| | |||||
* | Readd AL_SOFT_source_latency support to alffplay | Chris Robinson | 2017-12-30 | 1 | -12/+17 |
| | |||||
* | Use standard duration types for stream clocks | Chris Robinson | 2017-12-30 | 1 | -105/+122 |
| | |||||
* | Improve the alffplay queue for FFmpeg's send/receive API | Chris Robinson | 2017-12-30 | 1 | -152/+139 |
| | | | | | | | | The packet handling thread now calls avcodec_send_packet to give compressed data to libavcodec, while the audio/video threads call avcodec_receive_frame to handle decoded frames. The packet thread still maintains local queues for each stream to avoid starving an A/V thread when the other doesn't want another frame yet. | ||||
* | Update resampler padding checks | Chris Robinson | 2017-12-29 | 1 | -3/+3 |
| | |||||
* | Fix up a comment | Chris Robinson | 2017-12-24 | 1 | -7/+5 |
| | |||||
* | Don't make a pass-through macro for FadedDelayLineOut | Chris Robinson | 2017-12-24 | 1 | -8/+7 |
| | |||||
* | Use linear interpolation for reverb modulation | Chris Robinson | 2017-12-24 | 1 | -76/+130 |
| | | | | | | The core LateReverb_* functions are explicitly written out now, since the tapping and blending done by the Faded version is a bit more complex and it's not so easy to ensure proper optimizing on the Unfaded version. | ||||
* | Don't offset the chorus/flanger delay and LFO | Chris Robinson | 2017-12-24 | 2 | -36/+22 |
| | | | | | The delay being added to the scaled LFO will ensure a proper positive result regardless. | ||||
* | Fade between depths in the reverb modulator | Chris Robinson | 2017-12-24 | 1 | -48/+26 |
| | |||||
* | Use a separate unmodulated feedback tap for reverb | Chris Robinson | 2017-12-24 | 1 | -18/+20 |
| | |||||
* | Only link to the common lib when building as shared | Chris Robinson | 2017-12-23 | 1 | -3/+6 |
| | |||||
* | Clarify some reverb values | Chris Robinson | 2017-12-23 | 1 | -7/+6 |
| | |||||
* | Reorder some global variables | Chris Robinson | 2017-12-23 | 1 | -188/+188 |
| | |||||
* | Cleanup reverb modulation scaling | Chris Robinson | 2017-12-23 | 1 | -14/+17 |
| | |||||
* | Add missing integer queries | Chris Robinson | 2017-12-21 | 1 | -23/+65 |
| | |||||
* | Fix the lfo_offset for a 0-rate flanger | Chris Robinson | 2017-12-19 | 1 | -1/+1 |
| | |||||
* | Use MixSamples for the echo output | Chris Robinson | 2017-12-19 | 1 | -30/+20 |
| | |||||
* | Update the chorus and flanger state struct less often | Chris Robinson | 2017-12-19 | 2 | -8/+8 |
| | |||||
* | Make the echo effect only apply feedback to repeated samples | Chris Robinson | 2017-12-19 | 1 | -11/+16 |
| | |||||
* | Fade gains in the chorus and flanger output | Chris Robinson | 2017-12-19 | 2 | -16/+20 |
| | |||||
* | Use a single delay line for chorus feedback on a fixed tap | Chris Robinson | 2017-12-18 | 2 | -92/+118 |
| | | | | | | The outputs themselves use a variale-delay tap, but using a separate fixed- delay tap on the feedback helps improve the perceived "wobble" with sustained notes. This also applies to the flanger effect. | ||||
* | Apply chorus and flanger feedback on the tapped re-feed | Chris Robinson | 2017-12-17 | 2 | -6/+6 |
| | |||||
* | Use the selected mixer for chorus and flanger output | Chris Robinson | 2017-12-17 | 2 | -50/+22 |
| | |||||
* | Make MixSamples non-static global | Chris Robinson | 2017-12-17 | 3 | -5/+4 |
| | |||||
* | Fix some types to make MSVC happy | Chris Robinson | 2017-12-17 | 3 | -12/+13 |
| | |||||
* | Avoid a potential calloc of 0 | Chris Robinson | 2017-12-17 | 1 | -6/+5 |
| | |||||
* | Build common code once | Chris Robinson | 2017-12-16 | 1 | -22/+42 |
| | |||||
* | Use the right path for android's cmake toolchain | Chris Robinson | 2017-12-16 | 1 | -1/+1 |
| | |||||
* | Update travis for android-ndk-r15, required for its newer cmake | Chris Robinson | 2017-12-16 | 1 | -8/+10 |
| | |||||
* | Include the fpu=neon switch when testing for arm_neon.h | Chris Robinson | 2017-12-16 | 1 | -1/+1 |
| | |||||
* | Don't cache the Android NDK in Travis | Chris Robinson | 2017-12-16 | 1 | -15/+9 |
| | |||||
* | Mix multiple buffers in each buffer list item | Chris Robinson | 2017-12-16 | 1 | -64/+112 |
| | | | | Basically now this just relies on being able to specify composited buffers. | ||||
* | Pre-clear the source temp buffer and accumulate into it | Chris Robinson | 2017-12-16 | 1 | -18/+7 |
| | |||||
* | Rename SrcDataSize to be less confusing | Chris Robinson | 2017-12-16 | 1 | -25/+23 |
| | |||||
* | Allow storing multiple buffers in a ALbufferlistitem | Chris Robinson | 2017-12-15 | 4 | -72/+153 |
| | | | | | | | | | | | | | | | This will be to allow buffer layering, multiple buffers of the same format and sample rate that are mixed together prior to resampling, filtering, and panning. This will allow composing sounds from individual components that can be swapped around on different invocations (e.g. layer SoundA and SoundB on one instance and SoundA and SoundC on a different instance for a slightly different sound, then just SoundA for a third instance, and so on). The longest buffer within the list item determines the length of the list item. More work needs to be done to fully support it, namely the ability to specity multiple buffers to layer for static and streaming sources. Also the behavior of loop points for layered static sources should be worked out. Should also consider allowing each layer to have a sample offset. | ||||
* | Update flanger with the same changes as chorus | Chris Robinson | 2017-12-15 | 1 | -44/+55 |
| | |||||
* | Use a separate LFO offset in the chorus effect | Chris Robinson | 2017-12-15 | 1 | -10/+19 |
| | | | | | Given that the LFO range is not a power-of-two, it won't correctly wrap on overflow. |