EMIPLIB
Public Member Functions

MIPRawFloatAudioMessage Class Reference

Container for floating point raw audio data. More...

#include <miprawaudiomessage.h>

Inheritance diagram for MIPRawFloatAudioMessage:
Inheritance graph
[legend]
Collaboration diagram for MIPRawFloatAudioMessage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MIPRawFloatAudioMessage (int sampRate, int numChannels, int numFrames, float *pFrames, bool deleteFrames)
 Creates a MIPRawFloatAudioMessage instance.
const float * getFrames () const
 Returns the audio data.
void setFrames (float *pFrames, bool deleteFrames)
 Stores audio data.
MIPMediaMessagecreateCopy () const
 Create a copy of this message.

Detailed Description


Constructor & Destructor Documentation

MIPRawFloatAudioMessage::MIPRawFloatAudioMessage ( int  sampRate,
int  numChannels,
int  numFrames,
float *  pFrames,
bool  deleteFrames 
) [inline]

Creates a MIPRawFloatAudioMessage instance.

Parameters:
sampRateSampling rate.
numChannelsNumber of channels.
numFramesNumber of frames.
pFramesThe audio data.
deleteFramesFlag indicating if the data contained in pFrames should be deleted when this message is destroyed or when the data is replaced.

Member Function Documentation

MIPMediaMessage* MIPRawFloatAudioMessage::createCopy ( ) const [inline, virtual]
const float* MIPRawFloatAudioMessage::getFrames ( ) const [inline]
void MIPRawFloatAudioMessage::setFrames ( float *  pFrames,
bool  deleteFrames 
) [inline]

Stores audio data.

Parameters:
pFramesThe audio data.
deleteFramesFlag indicating if the data contained in pFrames should be deleted when this message is destroyed or when the data is replaced.

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