Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
AudioCaptureSrcProps Class Reference

#include <AudioCaptureSrc.h>

Inheritance diagram for AudioCaptureSrcProps:
Inheritance graph
Collaboration diagram for AudioCaptureSrcProps:
Collaboration graph

Public Member Functions

 AudioCaptureSrcProps ()
 
 AudioCaptureSrcProps (int _sampleRate, int _channels, int _audioInputDeviceIndex, int _processingIntervalMS)
 
apra::ScalarPropertyValue getProperty (const std::string &propName) const
 
bool setProperty (const std::string &propName, const apra::ScalarPropertyValue &value)
 
- Public Member Functions inherited from ModuleProps
 ModuleProps ()
 
 ModuleProps (float _fps)
 
 ModuleProps (float _fps, size_t _qlen, bool _logHealth)
 
 ModuleProps (FrameFetchStrategy _frameFetchStrategy)
 
size_t getQLen ()
 
virtual size_t getSerializeSize ()
 

Static Public Member Functions

template<typename PropsT >
static void applyProperties (PropsT &props, const std::map< std::string, apra::ScalarPropertyValue > &values, std::vector< std::string > &missingRequired)
 
static std::vector< std::string > dynamicPropertyNames ()
 

Public Attributes

int sampleRate
 
int channels
 
int audioInputDeviceIndex
 
int processingIntervalMS
 
- Public Attributes inherited from ModuleProps
float fps
 
size_t qlen
 
bool logHealth
 
int logHealthFrequency
 
size_t maxConcurrentFrames
 
int skipN = 0
 
int skipD = 1
 
FrameFetchStrategy frameFetchStrategy
 
QuePushStrategy::QuePushStrategyType quePushStrategyType
 
FIndexStrategy::FIndexStrategyType fIndexStrategyType
 
bool enableHealthCallBack
 
int healthUpdateIntervalInSec
 

Additional Inherited Members

- Public Types inherited from ModuleProps
enum  FrameFetchStrategy { PUSH , PULL }
 

Constructor & Destructor Documentation

◆ AudioCaptureSrcProps() [1/2]

AudioCaptureSrcProps::AudioCaptureSrcProps ( )
inline

◆ AudioCaptureSrcProps() [2/2]

AudioCaptureSrcProps::AudioCaptureSrcProps ( int _sampleRate,
int _channels,
int _audioInputDeviceIndex,
int _processingIntervalMS )
inline

Member Function Documentation

◆ applyProperties()

template<typename PropsT >
static void AudioCaptureSrcProps::applyProperties ( PropsT & props,
const std::map< std::string, apra::ScalarPropertyValue > & values,
std::vector< std::string > & missingRequired )
inlinestatic
Here is the call graph for this function:

◆ dynamicPropertyNames()

static std::vector< std::string > AudioCaptureSrcProps::dynamicPropertyNames ( )
inlinestatic

◆ getProperty()

apra::ScalarPropertyValue AudioCaptureSrcProps::getProperty ( const std::string & propName) const
inline

◆ setProperty()

bool AudioCaptureSrcProps::setProperty ( const std::string & propName,
const apra::ScalarPropertyValue & value )
inline

Member Data Documentation

◆ audioInputDeviceIndex

int AudioCaptureSrcProps::audioInputDeviceIndex

◆ channels

int AudioCaptureSrcProps::channels

◆ processingIntervalMS

int AudioCaptureSrcProps::processingIntervalMS

◆ sampleRate

int AudioCaptureSrcProps::sampleRate

The documentation for this class was generated from the following file: