|
Krotos Modules 3
|
A thread class designed to load and preprocess an impulse response. More...
#include <ConvolutionComputationThread.h>
Public Member Functions | |
| ConvolutionComputationThread (ConvolutionReverb &processor) | |
| ~ConvolutionComputationThread () override | |
| void | run () override |
| Adds audio buffer to the convolvers, resamples it to the current sample rate, unifies buffer size and updates the convolvers. | |
Private Member Functions | |
| FloatBuffer::Ptr | importChannelFromAudioFile (AudioFormatReader *reader, int fileChannel) const |
| FloatBuffer::Ptr | changeSampleRate (const FloatBuffer::Ptr &inputBuffer, double inputSampleRate, double outputSampleRate) const |
| void | unifyBufferSize (std::vector< FloatBuffer::Ptr > &buffers) const |
| void | normaliseImpulseResponses (const std::vector< FloatBuffer::Ptr > &buffers) const |
Private Attributes | |
| ConvolutionReverb & | m_processor |
A thread class designed to load and preprocess an impulse response.
|
explicit |
|
override |
|
private |
|
private |
|
private |
|
override |
Adds audio buffer to the convolvers, resamples it to the current sample rate, unifies buffer size and updates the convolvers.
|
private |
|
private |