libalaudio  2.1.0.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Protected Attributes
AL::ALSoundExtractor Class Reference

#include <alsoundextractor.h>

List of all members.

Public Member Functions

 ALSoundExtractor (boost::shared_ptr< AL::ALBroker > pBroker, std::string pName)
virtual ~ALSoundExtractor ()
virtual std::string version (void)
virtual void startDetection (void)
virtual void stopDetection (void)
QI_API_DEPRECATED void setDebugMode (const bool &pbSetOrUnset=true)
QI_API_DEPRECATED bool getDebugMode (void)
virtual void process (const int &nbOfChannels, const int &nbrOfSamplesByChannel, const AL_SOUND_FORMAT *buffer, const ALValue &timestamp)
virtual QI_API_DEPRECATED void processSound (const int nbOfChannels, const int nbrOfSamplesByChannel, const AL_SOUND_FORMAT *buffer)
virtual QI_API_DEPRECATED void processSoundRemote (const int &nbOfChannels, const int &nbrOfSamplesByChannel, const ALValue &buffer)

Protected Attributes

bool fIsRunning
bool fbDebugMode
boost::shared_ptr< ALProxy > audioDevice
ALValue fNullTimestamp

Detailed Description

Definition at line 56 of file alsoundextractor.h.


Constructor & Destructor Documentation

AL::ALSoundExtractor::ALSoundExtractor ( boost::shared_ptr< AL::ALBroker >  pBroker,
std::string  pName 
)

Definition at line 16 of file alsoundextractor.cpp.

Definition at line 70 of file alsoundextractor.cpp.


Member Function Documentation

QI_API_DEPRECATED bool AL::ALSoundExtractor::getDebugMode ( void  ) [inline]

getDebugMode. get the status about the printing of some debug information

Deprecated:
This functionnality is now handled by qi/log

Definition at line 83 of file alsoundextractor.h.

void AL::ALSoundExtractor::process ( const int &  nbOfChannels,
const int &  nbrOfSamplesByChannel,
const AL_SOUND_FORMAT buffer,
const ALValue &  timestamp 
) [virtual]

Definition at line 106 of file alsoundextractor.cpp.

void AL::ALSoundExtractor::processSound ( const int  nbOfChannels,
const int  nbrOfSamplesByChannel,
const AL_SOUND_FORMAT buffer 
) [virtual]

Definition at line 118 of file alsoundextractor.cpp.

void AL::ALSoundExtractor::processSoundRemote ( const int &  nbOfChannels,
const int &  nbrOfSamplesByChannel,
const ALValue &  buffer 
) [virtual]

Definition at line 124 of file alsoundextractor.cpp.

QI_API_DEPRECATED void AL::ALSoundExtractor::setDebugMode ( const bool &  pbSetOrUnset = true) [inline]

setDebugMode. enable/disable the printing of some debug information

Parameters:
pbSetOrUnsetenable the functionality when true
Deprecated:
This functionnality is now handled by qi/log

Definition at line 72 of file alsoundextractor.h.

void AL::ALSoundExtractor::startDetection ( void  ) [virtual]

Definition at line 75 of file alsoundextractor.cpp.

void AL::ALSoundExtractor::stopDetection ( void  ) [virtual]

Definition at line 96 of file alsoundextractor.cpp.

virtual std::string AL::ALSoundExtractor::version ( void  ) [inline, virtual]

Definition at line 63 of file alsoundextractor.h.


Member Data Documentation

boost::shared_ptr<ALProxy> AL::ALSoundExtractor::audioDevice [protected]

Definition at line 131 of file alsoundextractor.h.

Definition at line 130 of file alsoundextractor.h.

Definition at line 129 of file alsoundextractor.h.

Definition at line 132 of file alsoundextractor.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines