EMIPLIB
|
Message passed through a feedback chain. More...
#include <mipfeedback.h>
Public Member Functions | |
bool | setPlaybackStreamTime (MIPTime t) |
Sets current offset time in the playback stream. | |
bool | hasPlaybackStreamTime () const |
Returns true if the playback stream time has been set. | |
MIPTime | getPlaybackStreamTime () const |
Returns the playback stream offset. | |
void | addToPlaybackDelay (MIPTime t) |
Adds t to the total amount of playback delay. | |
MIPTime | getPlaybackDelay () const |
Returns the total playback delay. |
A MIPFeedback object is used in a feedback chain of a MIPComponentChain instance. Each object in the same chain can inspect and/or modify the information in the MIPFeedback instance.
void MIPFeedback::addToPlaybackDelay | ( | MIPTime | t | ) | [inline] |
MIPTime MIPFeedback::getPlaybackDelay | ( | ) | const [inline] |
MIPTime MIPFeedback::getPlaybackStreamTime | ( | ) | const [inline] |
Returns the playback stream offset, previously set by the MIPFeedback::setPlaybackStreamTime function.
bool MIPFeedback::hasPlaybackStreamTime | ( | ) | const [inline] |
This function returns true
if the playback stream time has been set and false
otherwise.
bool MIPFeedback::setPlaybackStreamTime | ( | MIPTime | t | ) | [inline] |
Using this function, the current offset in the playback stream can be set. For example, this is set by the MIPAudioMixer and the data is inspected by the MIPRTPDecoder. Only one object in a feedback chain can set this value.