libcluon
0.0.148
|
#include <Player.hpp>
Public Member Functions | |
Player (const std::string &file, const bool &autoRewind, const bool &threading) noexcept | |
~Player () | |
std::pair< bool, cluon::data::Envelope > | getNextEnvelopeToBeReplayed () noexcept |
uint32_t | delay () const noexcept |
bool | hasMoreData () const noexcept |
void | rewind () noexcept |
void | seekTo (float ratio) noexcept |
uint32_t | totalNumberOfEnvelopesInRecFile () const noexcept |
void | setPlayerListener (std::function< void(cluon::data::PlayerStatus playerStatus)> playerListener) noexcept |
|
noexcept |
Constructor.
file | File to play. |
autoRewind | True if the file should be rewind at EOF. |
threading | If set to true, player will load new envelopes from the files in background. |
cluon::Player::~Player | ( | ) |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
This method rewinds the iterators.
Referenced by getNextEnvelopeToBeReplayed().
|
noexcept |
References getNextEnvelopeToBeReplayed().
|
noexcept |
|
noexcept |