CSL
6.0
|
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 insMore... | |
unsigned | mMaxOutputChannels |
HW outsMore... | |
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... | |
IO Device class – a holder for a sound interface with name, id, # IO channels, etc.
Definition at line 815 of file CSL_Core.h.
|
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.
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().
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 |
unsigned csl::IODevice::mMaxOutputChannels |
float csl::IODevice::mFrameRate |
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().