XCORE SDK
XCORE Software Development Kit
|
Represents the microphone array component of an application. More...
#include <MicArray.hpp>
Public Member Functions | |
MicArray () | |
Construct a MicArray . | |
MicArray (TPdmRx pdm_rx, TSampleFilter sample_filter, TOutputHandler output_handler) | |
Construct a MicArray . More... | |
MicArray (TPdmRx pdm_rx, TOutputHandler output_handler) | |
Construct a MicArray More... | |
void | ThreadEntry () |
Entry point for the decimation thread. | |
Public Attributes | |
TPdmRx | PdmRx |
The PDM rx service. More... | |
TDecimator | Decimator |
The Decimator. More... | |
TSampleFilter | SampleFilter |
The output filter. More... | |
TOutputHandler | OutputHandler |
The output handler. More... | |
Static Public Attributes | |
static constexpr unsigned | MicCount = MIC_COUNT |
Number of microphone channels. | |
Represents the microphone array component of an application.
MIC_COUNT | Number of microphones. |
TDecimator | Type for the decimator. |
TPdmRx | Type for the PDM rx service used. |
TSampleFilter | Type for the output filter used. |
TOutputHandler | Type for the output handler used. |
|
inline |
Construct a MicArray
.
pdm_rx | |
sample_filter | |
output_handler |
|
inline |
Construct a MicArray
pdm_rx | |
output_handler |
TDecimator mic_array::MicArray< MIC_COUNT, TDecimator, TPdmRx, TSampleFilter, TOutputHandler >::Decimator |
The Decimator.
This two-stage decimator is used to convert and down-sample the PDM stream into a PCM stream.
TOutputHandler mic_array::MicArray< MIC_COUNT, TDecimator, TPdmRx, TSampleFilter, TOutputHandler >::OutputHandler |
The output handler.
This is used to transmit samples or frames to subsequent stages of the processing pipeline.
TPdmRx mic_array::MicArray< MIC_COUNT, TDecimator, TPdmRx, TSampleFilter, TOutputHandler >::PdmRx |
The PDM rx service.
This is used for capturing PDM data from a port.
TSampleFilter mic_array::MicArray< MIC_COUNT, TDecimator, TPdmRx, TSampleFilter, TOutputHandler >::SampleFilter |
The output filter.
This is used to perform sample-by-sample filtering of the output from the second stage decimator.