#include <FreewheelingNetworkPlayer.hxx>
Definition at line 12 of file FreewheelingNetworkPlayer.hxx.
Public Member Functions | |
FreewheelingNetworkPlayer () | |
void | AddInputFile (const std::string &) |
void | AddOutputFile (const std::string &) |
bool | IsWorking () const |
Should return true when the backend is able to run the network. | |
std::string | NonWorkingReason () const |
Whenever the backend is not working, this method returns the reason. | |
virtual void | Start () |
virtual void | Stop () |
void | ProcessInputFile () |
void | EnableLoopInputWavs () |
void | SetResultWavsTime (double time) |
CLAM::FreewheelingNetworkPlayer::FreewheelingNetworkPlayer | ( | ) | [inline] |
Definition at line 20 of file FreewheelingNetworkPlayer.hxx.
void CLAM::FreewheelingNetworkPlayer::AddInputFile | ( | const std::string & | filename | ) |
Definition at line 115 of file FreewheelingNetworkPlayer.cxx.
void CLAM::FreewheelingNetworkPlayer::AddOutputFile | ( | const std::string & | filename | ) |
Definition at line 119 of file FreewheelingNetworkPlayer.cxx.
bool CLAM::FreewheelingNetworkPlayer::IsWorking | ( | ) | const [virtual] |
Should return true when the backend is able to run the network.
Implements CLAM::NetworkPlayer.
Definition at line 9 of file FreewheelingNetworkPlayer.cxx.
References CLAM::NetworkPlayer::GetAudioSinks(), and CLAM::NetworkPlayer::GetAudioSources().
std::string CLAM::FreewheelingNetworkPlayer::NonWorkingReason | ( | ) | const [virtual] |
Whenever the backend is not working, this method returns the reason.
Implements CLAM::NetworkPlayer.
Definition at line 13 of file FreewheelingNetworkPlayer.cxx.
References CLAM::NetworkPlayer::GetAudioSinks(), and CLAM::NetworkPlayer::GetAudioSources().
void CLAM::FreewheelingNetworkPlayer::Start | ( | ) | [virtual] |
Implements CLAM::NetworkPlayer.
Definition at line 21 of file FreewheelingNetworkPlayer.cxx.
References CLAM_ASSERT, CLAM::NetworkPlayer::CollectSourcesAndSinks(), CLAM::FlattenedNetwork::Do(), CLAM::NetworkPlayer::GetAudioSinks(), CLAM::NetworkPlayer::GetAudioSources(), CLAM::NetworkPlayer::GetNetwork(), CLAM::Processing::GetOutPort(), CLAM::NetworkPlayer::IsStopped(), CLAM::AudioSink::SetExternalBuffer(), CLAM::OutPortBase::SetHop(), CLAM::OutPortBase::SetSize(), CLAM::NetworkPlayer::SetStopped(), and Stop().
void CLAM::FreewheelingNetworkPlayer::Stop | ( | ) | [virtual] |
Implements CLAM::NetworkPlayer.
Definition at line 103 of file FreewheelingNetworkPlayer.cxx.
References CLAM::NetworkPlayer::IsStopped(), and CLAM::NetworkPlayer::SetStopped().
Referenced by Start().
void CLAM::FreewheelingNetworkPlayer::ProcessInputFile | ( | ) |
Definition at line 110 of file FreewheelingNetworkPlayer.cxx.
References CLAM::FlattenedNetwork::Do(), and CLAM::NetworkPlayer::GetNetwork().
void CLAM::FreewheelingNetworkPlayer::EnableLoopInputWavs | ( | ) | [inline] |
Definition at line 35 of file FreewheelingNetworkPlayer.hxx.
void CLAM::FreewheelingNetworkPlayer::SetResultWavsTime | ( | double | time | ) | [inline] |
Definition at line 39 of file FreewheelingNetworkPlayer.hxx.