csl::IODevice Class Reference

#include <CSL_Core.h>

List of all members.

Public Member Functions

 IODevice ()
 IODevice (char *name, unsigned index, unsigned maxIn, unsigned maxOut, bool isIn, bool isOut)
 Constructor takes all variables, calls initialize().
 IODevice (string name, unsigned index, unsigned maxIn, unsigned maxOut, bool isIn, bool isOut)
void dump ()
 pretty-print the receiver' device

Public Attributes

char mName [CSL_NAME_LEN]
 public members
unsigned mIndex
 index (API-specific)
unsigned mMaxInputChannels
 # HW ins
unsigned mMaxOutputChannels
 # HW outs
float mFrameRate
 current SR
vector< float > mFrameRates
 the vector of frame rates I support
bool mIsDefaultIn
 am i the default in?
bool mIsDefaultOut
 am i the default out?


Detailed Description

IO Device class -- a holder for a sound interface with name, id, # IO channels, etc.

Constructor & Destructor Documentation

csl::IODevice::IODevice (  )  [inline]

IODevice::IODevice ( char *  name,
unsigned  index,
unsigned  maxIn,
unsigned  maxOut,
bool  isIn,
bool  isOut 
)

Constructor takes all variables, calls initialize().

References mName.

IODevice::IODevice ( string  name,
unsigned  index,
unsigned  maxIn,
unsigned  maxOut,
bool  isIn,
bool  isOut 
)

References mName.


Member Function Documentation

void IODevice::dump ( void   ) 

pretty-print the receiver' device

References csl::logMsg(), mFrameRate, mIndex, mIsDefaultIn, mIsDefaultOut, mMaxInputChannels, mMaxOutputChannels, and mName.

Referenced by csl::CAIO::CAIO().


Member Data Documentation

char csl::IODevice::mName[CSL_NAME_LEN]

public members

my device name

Referenced by csl::CAIO::CAIO(), dump(), and IODevice().

index (API-specific)

Referenced by csl::CAIO::CAIO(), and dump().

# HW ins

Referenced by csl::CAIO::CAIO(), and dump().

# HW outs

Referenced by csl::CAIO::CAIO(), and dump().

current SR

Referenced by csl::CAIO::CAIO(), and dump().

the vector of frame rates I support

Referenced by csl::PAIO::initialize().

am i the default in?

Referenced by csl::CAIO::CAIO(), and dump().

am i the default out?

Referenced by csl::CAIO::CAIO(), and dump().


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