csl::JackIO Class Reference

#include <JackIO.h>

Inheritance diagram for csl::JackIO:

csl::IO

List of all members.

Public Member Functions

 JackIO ()
 Constructor.
 JackIO (unsigned s_rate, unsigned b_size, int in_device=0, int out_device=0, unsigned in_chans=0, unsigned out_chans=2)
virtual ~JackIO ()
void open () throw (CException)
 open/close start/stop methods
void close () throw (CException)
 open/close start/stop methods
void start () throw (CException)
 start my timer thread
void stop () throw (CException)
 stop the timer thread

Public Attributes

jack_port_t * mInput_port
jack_port_t * mOutput_port
jack_client_t * mClient


Detailed Description

JackIO is an IO that uses a thread and a timer to call its graph's nextBuffer(); it doesn't do anything with the resulting buffer, but assumes that other objects (observers of the graph) will handle some actual IO.

Constructor & Destructor Documentation

JackIO::JackIO (  ) 

Constructor.

JackIO::JackIO ( unsigned  s_rate,
unsigned  b_size,
int  in_device = 0,
int  out_device = 0,
unsigned  in_chans = 0,
unsigned  out_chans = 2 
)

JackIO::~JackIO (  )  [virtual]


Member Function Documentation

void JackIO::open (  )  throw (CException) [virtual]

open/close start/stop methods

< open/close start/stop methods

Reimplemented from csl::IO.

References jack_shutdown(), JackCallback(), csl::kLogError, csl::logMsg(), mClient, mInput_port, mOutput_port, and ports.

void JackIO::close (  )  throw (CException) [virtual]

open/close start/stop methods

Reimplemented from csl::IO.

References mClient.

void JackIO::start ( void   )  throw (CException) [virtual]

start my timer thread

< start my timer thread

Reimplemented from csl::IO.

void JackIO::stop ( void   )  throw (CException) [virtual]

stop the timer thread

< stop the timer thread

Reimplemented from csl::IO.


Member Data Documentation

Referenced by JackCallback(), and open().

Referenced by JackCallback(), and open().

jack_client_t* csl::JackIO::mClient

Referenced by close(), JackCallback(), and open().


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

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8