![]() |
VISR
0.11.7
Versatile Interactive Scene Renderer
|
#include <filter_routing.hpp>
Public Types | |
using | IndexType = std::size_t |
using | GainType = double |
Public Member Functions | |
FilterRouting () | |
FilterRouting (IndexType pInput, IndexType pOutput, IndexType pFilter, GainType pGain=1.0) | |
Public Attributes | |
IndexType | inputIndex |
IndexType | outputIndex |
IndexType | filterIndex |
GainType | gainLinear |
Static Public Attributes | |
static const IndexType | cInvalidIndex = UINT_MAX |
Friends | |
class | FilterRoutingList |
Class for defining a routing entry for a multichannel filter engine. A routing entry consists of a input channel index, an output channel index, an index for the used filter coefficient, and a gain value.
using visr::rbbl::FilterRouting::GainType = double |
using visr::rbbl::FilterRouting::IndexType = std::size_t |
|
inline |
Default constructor to create an object with invalid input, outpur, and filter indices.
|
inline |
Constructor with arguments.
pInput | Input index (zero-offset) |
pOutput | Output index (zero-offset) |
pFilter | Filter index (zero-offset) |
pGain | Initial gain value, linear scale. Default: 1.0 |
|
friend |
|
static |
Special value to denote invalid indices
Provide definition for the static const class member in order to allow their address to be taken. The value is taken from their declaration within the class.
IndexType visr::rbbl::FilterRouting::filterIndex |
The filter channel index (zero-offset)
GainType visr::rbbl::FilterRouting::gainLinear |
The gain value for the routing point (linear scale)
IndexType visr::rbbl::FilterRouting::inputIndex |
The input channel index (zero-offset)
IndexType visr::rbbl::FilterRouting::outputIndex |
The output channel index (zero-offset)