CSL  6.0
csl::IODevice Class Reference

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

#include <CSL_Core.h>

Public Member Functions

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

Public Attributes

char mName [CSL_NAME_LEN]
 public members More...
 
unsigned mIndex
 index (API-specific) More...
 
unsigned mMaxInputChannels
 

HW ins

More...
 
unsigned mMaxOutputChannels
 

HW outs

More...
 
float mFrameRate
 current SR More...
 
vector< float > mFrameRates
 the vector of frame rates I support More...
 
bool mIsDefaultIn
 am i the default in? More...
 
bool mIsDefaultOut
 am i the default out? More...
 

Detailed Description

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

Definition at line 815 of file CSL_Core.h.

Constructor & Destructor Documentation

csl::IODevice::IODevice ( )
inline

Definition at line 817 of file CSL_Core.h.

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

Constructor takes all variables, calls initialize()

Definition at line 1556 of file CSL_Core.cpp.

References mName.

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

Definition at line 1562 of file CSL_Core.cpp.

References mName.

Member Function Documentation

void IODevice::dump ( void  )

pretty-print the receiver' device

Definition at line 1570 of file CSL_Core.cpp.

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

Definition at line 821 of file CSL_Core.h.

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

unsigned csl::IODevice::mIndex

index (API-specific)

Definition at line 822 of file CSL_Core.h.

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

unsigned csl::IODevice::mMaxInputChannels

HW ins

Definition at line 823 of file CSL_Core.h.

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

unsigned csl::IODevice::mMaxOutputChannels

HW outs

Definition at line 824 of file CSL_Core.h.

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

float csl::IODevice::mFrameRate

current SR

Definition at line 825 of file CSL_Core.h.

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

vector<float> csl::IODevice::mFrameRates

the vector of frame rates I support

Definition at line 826 of file CSL_Core.h.

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

bool csl::IODevice::mIsDefaultIn

am i the default in?

Definition at line 827 of file CSL_Core.h.

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

bool csl::IODevice::mIsDefaultOut

am i the default out?

Definition at line 828 of file CSL_Core.h.

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


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