AcousticSL Software Library: AcousticSL_Handler_t Struct Reference

STM32 Acoustic SL

AcousticSL_Handler_t Struct Reference

Library handler. It keeps track of the static parameters and it handles the internal state of the algorithm. More...

#include <acoustic_sl.h>

Data Fields

uint32_t algorithm
 
uint32_t sampling_frequency
 
uint32_t channel_number
 
uint8_t ptr_M1_channels
 
uint8_t ptr_M2_channels
 
uint8_t ptr_M3_channels
 
uint8_t ptr_M4_channels
 
uint16_t M12_distance
 
uint16_t M34_distance
 
uint32_t internal_memory_size
 
uint32_t * pInternalMemory
 
int16_t samples_to_process
 

Detailed Description

Library handler. It keeps track of the static parameters and it handles the internal state of the algorithm.

Field Documentation

uint32_t algorithm

Specifies the algorithm to be used between XCORR and GCC-PHAT. This parameter can be a value of Acoustic_SL_algorithm_type. Default value is ACOUSTIC_BF_TYPE_CARDIOID_BASIC

uint32_t channel_number

Specifies the number of channels, can be 2 for 180� estimation, 4 for 360� estimation. Default value is

uint32_t internal_memory_size

Keeps track of the amount of memory required for the current setup. It's filled by the AcousticSL_getMemorySize() function and must be used to allocate the right amount of RAM

uint16_t M12_distance

Distance between Mic1 and Mic2 in decimals of a millimeter. Deafult value is 150.

uint16_t M34_distance

Distance between Mic3 and Mic4 in decimals of a millimeter. Deafult value is 150.

uint32_t* pInternalMemory

Pointer to the memory allocated by the user

uint8_t ptr_M1_channels

Number of channels in the stream of Microphone 1. Deafult value is 1.

uint8_t ptr_M2_channels

Number of channels in the stream of Microphone 2. Deafult value is 1.

uint8_t ptr_M3_channels

Number of channels in the stream of Microphone 3. Deafult value is 1.

uint8_t ptr_M4_channels

Number of channels in the stream of Microphone 4. Deafult value is 1.

int16_t samples_to_process

Specifies the number of samples to be processed at a time

uint32_t sampling_frequency

Specifies the sampling frequency - for future use


The documentation for this struct was generated from the following file:
  • D:/Documents/Repositories/DMIC/Private/Fw/OSX_Libraries/SourceLocalization/trunk/export/acoustic_sl.h
Generated by   doxygen 1.8.11