5#include "audio_processor.h"
91 std::unique_ptr<AudioProcessor>
Clone()
const override;
94 class PartitionedConvolverImpl;
95 std::unique_ptr<PartitionedConvolverImpl> impl_;
A class representing an audio buffer with multiple channels of non-interleaved audio data.
Definition audio_buffer.h:18
Base class for audio processors.
Definition audio_processor.h:23
A partitioned convolution engine that can filter audio signals with an FIR filter.
Definition partitioned_convolver.h:19
uint32_t InputChannelCount() const override
Gets the number of input channels supported.
Definition partitioned_convolver.h:69
std::string GetShortInfo() const
Gets a short string representation of the internal state of the convolver for debugging purposes.
void Clear() override
Clears the internal state of the processor.
std::unique_ptr< AudioProcessor > Clone() const override
Creates a copy of the PartitionedConvolver.
void Process(const AudioBuffer &input, AudioBuffer &output) noexcept override
Processes the audio buffer.
void DumpInfo() const
Dumps internal information to the standard output for debugging purposes.
uint32_t OutputChannelCount() const override
Gets the number of output channels supported.
Definition partitioned_convolver.h:78
uint32_t GetBlockSize() const
Gets the block size used for processing.
PartitionedConvolver(PartitionedConvolver &&) noexcept
Move constructor for the partitioned convolver.
PartitionedConvolver(uint32_t block_size, std::span< const float > fir, uint32_t rep_count=8)
Constructs a PartitionedConvolver.