|
EMIPLIB
|
Base class for encoded and raw audio messages. More...
#include <mipaudiomessage.h>


Public Member Functions | |
| int | getSamplingRate () const |
| Returns the sampling rate. | |
| int | getNumberOfFrames () const |
| Returns the number of frames in the message. | |
| int | getNumberOfChannels () const |
| Returns the number of channels. | |
| void | setSamplingRate (int sampRate) |
| Stores the sampling rate. | |
| void | setNumberOfFrames (int numFrames) |
| Stores the number of frames. | |
| void | setNumberOfChannels (int numChannels) |
| Stores the number of channels. | |
| void | copyAudioInfoFrom (MIPAudioMessage &msg) |
Copies the info stored in msg, including the MIPMediaMessage info. | |
Protected Member Functions | |
| MIPAudioMessage (bool isRaw, uint32_t msgSubtype, int sampRate, int channels, int frames) | |
| Constructor of the class. | |
This class is the base class of both raw audio messages and encoded audio messages.
| MIPAudioMessage::MIPAudioMessage | ( | bool | isRaw, |
| uint32_t | msgSubtype, | ||
| int | sampRate, | ||
| int | channels, | ||
| int | frames | ||
| ) | [inline, protected] |
Constructor of the class, meant to be used by subclasses.
| isRaw | Flag indicating is the message is intended for raw audio samples or encoded audio. |
| msgSubtype | Subtype of the message. |
| sampRate | Sampling rate. |
| channels | The number of channels. |
| frames | The number of frames contained in the message. |
| void MIPAudioMessage::copyAudioInfoFrom | ( | MIPAudioMessage & | msg | ) | [inline] |
| int MIPAudioMessage::getNumberOfChannels | ( | ) | const [inline] |
| int MIPAudioMessage::getNumberOfFrames | ( | ) | const [inline] |
| int MIPAudioMessage::getSamplingRate | ( | ) | const [inline] |
| void MIPAudioMessage::setNumberOfChannels | ( | int | numChannels | ) | [inline] |
References MIPMediaMessage::copyMediaInfoFrom().
| void MIPAudioMessage::setNumberOfFrames | ( | int | numFrames | ) | [inline] |
| void MIPAudioMessage::setSamplingRate | ( | int | sampRate | ) | [inline] |
1.7.3