Container for encoded audio data.
#include <mipencodedaudiomessage.h>
List of all members.
Public Member Functions |
| MIPEncodedAudioMessage (uint32_t subType, int samplingRate, int numChannels, int numFrames, uint8_t *pData, size_t numBytes, bool deleteData) |
| Creates an encoded audio message.
|
const uint8_t * | getData () const |
| Returns a pointer to the encoded audio data.
|
size_t | getDataLength () const |
| Returns the length of the encoded audio.
|
void | setDataLength (size_t l) |
| Sets the length of the encoded audio to 'l'.
|
MIPMediaMessage * | createCopy () const |
| Creates a copy of this message.
|
Constructor & Destructor Documentation
MIPEncodedAudioMessage::MIPEncodedAudioMessage |
( |
uint32_t |
subType, |
|
|
int |
samplingRate, |
|
|
int |
numChannels, |
|
|
int |
numFrames, |
|
|
uint8_t * |
pData, |
|
|
size_t |
numBytes, |
|
|
bool |
deleteData |
|
) |
| [inline] |
This constructor can be used to create an encoded audio message.
- Parameters:
-
subType | The subtype of the message. |
samplingRate | The sampling rate. |
numChannels | The number of channels. |
numFrames | The number of frames contained in the message. |
pData | The actual encoded audio data. |
numBytes | The length of the encoded audio data. |
deleteData | Flag indicating if the memory block pointed to by pData should be deleted when this message is destroyed. |
Referenced by createCopy().
Member Function Documentation
MIPMediaMessage * MIPEncodedAudioMessage::createCopy |
( |
| ) |
const [inline, virtual] |
const uint8_t* MIPEncodedAudioMessage::getData |
( |
| ) |
const [inline] |
size_t MIPEncodedAudioMessage::getDataLength |
( |
| ) |
const [inline] |
void MIPEncodedAudioMessage::setDataLength |
( |
size_t |
l | ) |
[inline] |
The documentation for this class was generated from the following file: