6#include "feedback_matrix.h"
67 return channel_count_;
77 return channel_count_;
100 std::unique_ptr<AudioProcessor>
Clone()
const override;
103 uint32_t channel_count_;
104 std::vector<DelayBank> delaybanks_;
105 std::vector<ScalarFeedbackMatrix> matrix_;
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 filter feedback matrix processor.
Definition filter_feedback_matrix.h:29
std::unique_ptr< AudioProcessor > Clone() const override
Creates a copy of the filter feedback matrix.
bool GetFirstMatrix(std::span< float > matrix) const
Retrieves the coefficients of the first feedback matrix in the cascade.
void Clear() override
Clears the internal state of the processor.
uint32_t OutputChannelCount() const override
Returns the number of output channels produced by this processor.
Definition filter_feedback_matrix.h:75
FilterFeedbackMatrix(const CascadedFeedbackMatrixOptions &options)
Constructs a filter feedback matrix with a specified number of channels.
void Process(const AudioBuffer &input, AudioBuffer &output) noexcept override
Processes the input audio buffer and produces the output audio buffer.
FilterFeedbackMatrix & operator=(FilterFeedbackMatrix &&other) noexcept
Move assignment operator for the filter feedback matrix.
FilterFeedbackMatrix(FilterFeedbackMatrix &&other) noexcept
Move constructor for the filter feedback matrix.
uint32_t InputChannelCount() const override
Returns the number of input channels supported by this processor.
Definition filter_feedback_matrix.h:65
void PrintInfo() const
Prints information about the filter feedback matrix to the standard output.
Information structure for constructing a cascaded feedback matrix (also known as a filter feedback ma...
Definition types.h:154