CLAM-Development  1.1
Classes | Public Member Functions
CLAM::JACKNetworkPlayer Class Reference

#include <JACKNetworkPlayer.hxx>

List of all members.

Classes

struct  JackConnection
struct  SinkJackBinding
struct  SourceJackBinding

Public Member Functions

 JACKNetworkPlayer (const std::string &name="CLAM network player")
virtual ~JACKNetworkPlayer ()
void InitClient ()
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.
void RegisterPorts ()
void RegisterInputPorts (const Network &net)
void RegisterOutputPorts (const Network &net)
void UnRegisterPorts ()
void OnShutdown ()
void CopyJackBuffersToGenerators (const jack_nframes_t nframes)
void CopySinksToJackBuffers (const jack_nframes_t nframes)
virtual void Start ()
virtual void Stop ()
virtual void Init ()
virtual unsigned BackendBufferSize ()
virtual unsigned BackendSampleRate ()
void Do (const jack_nframes_t nframes)
void StoreConnections ()
void RestoreConnections ()
void AutoConnectPorts ()

Detailed Description

Definition at line 12 of file JACKNetworkPlayer.hxx.


Constructor & Destructor Documentation

CLAM::JACKNetworkPlayer::JACKNetworkPlayer ( const std::string &  name = "CLAM network player")

Definition at line 24 of file JACKNetworkPlayer.cxx.

References InitClient().

Definition at line 32 of file JACKNetworkPlayer.cxx.

References Stop().


Member Function Documentation

Definition at line 301 of file JACKNetworkPlayer.cxx.

References NULL.

Referenced by Start().

Reimplemented from CLAM::NetworkPlayer.

Definition at line 83 of file JACKNetworkPlayer.hxx.

Reimplemented from CLAM::NetworkPlayer.

Definition at line 88 of file JACKNetworkPlayer.hxx.

void CLAM::JACKNetworkPlayer::CopyJackBuffersToGenerators ( const jack_nframes_t  nframes)

Definition at line 163 of file JACKNetworkPlayer.cxx.

Referenced by Do().

void CLAM::JACKNetworkPlayer::CopySinksToJackBuffers ( const jack_nframes_t  nframes)

Definition at line 177 of file JACKNetworkPlayer.cxx.

Referenced by Do().

void CLAM::JACKNetworkPlayer::Do ( const jack_nframes_t  nframes)
void CLAM::JACKNetworkPlayer::Init ( ) [virtual]

Reimplemented from CLAM::NetworkPlayer.

Definition at line 212 of file JACKNetworkPlayer.cxx.

References InitClient().

bool CLAM::JACKNetworkPlayer::IsWorking ( ) const [virtual]

Should return true when the backend is able to run the network.

Implements CLAM::NetworkPlayer.

Definition at line 45 of file JACKNetworkPlayer.cxx.

std::string CLAM::JACKNetworkPlayer::NonWorkingReason ( ) const [virtual]

Whenever the backend is not working, this method returns the reason.

Implements CLAM::NetworkPlayer.

Definition at line 50 of file JACKNetworkPlayer.cxx.

Definition at line 270 of file JACKNetworkPlayer.cxx.

Referenced by Start().

void CLAM::JACKNetworkPlayer::Start ( ) [virtual]
void CLAM::JACKNetworkPlayer::Stop ( ) [virtual]

Definition at line 250 of file JACKNetworkPlayer.cxx.

Referenced by Stop().

Definition at line 140 of file JACKNetworkPlayer.cxx.

Referenced by Start().


The documentation for this class was generated from the following files: