CLAM-Development
1.1
|
#include <SndPcm.hxx>
Public Member Functions | |
void | cat_error (const char *fmt,...) |
void | ReadBuf (short *data) |
void | WriteBuf (short *data) |
void | ReadBuf (short *data, int len) |
void | WriteBuf (short *data, int len) |
SndPcm (int irate, int ichannels_in, int ichannels_out, int ilatency, const char *pdevice, const char *cdevice) | |
~SndPcm () | |
void | Start (void) |
void | Stop (void) |
void | RecoverXRun (short *data) |
void | Poll (void) |
Public Attributes | |
snd_pcm_format_t | format |
int | rate |
int | channels_in |
int | channels_out |
int | latency |
int | latency_min |
int | latency_max |
int | block |
int | tick_time |
int | tick_time_ok |
snd_pcm_t * | phandle |
snd_pcm_t * | chandle |
char | error_str [1024] |
Definition at line 38 of file SndPcm.hxx.
SndPcm::SndPcm | ( | int | irate, |
int | ichannels_in, | ||
int | ichannels_out, | ||
int | ilatency, | ||
const char * | pdevice, | ||
const char * | cdevice | ||
) |
Definition at line 50 of file foo.cxx.
References block, cat_error(), chandle, error_str, format, latency, latency_max, latency_min, phandle, rate, tick_time, and tick_time_ok.
SndPcm::~SndPcm | ( | ) |
void SndPcm::cat_error | ( | const char * | fmt, |
... | |||
) |
void SndPcm::Poll | ( | void | ) |
void SndPcm::ReadBuf | ( | short * | data | ) | [inline] |
Definition at line 57 of file SndPcm.hxx.
References chandle, latency, and RecoverXRun().
void SndPcm::ReadBuf | ( | short * | data, |
int | len | ||
) | [inline] |
Definition at line 73 of file SndPcm.hxx.
References chandle, and RecoverXRun().
void SndPcm::RecoverXRun | ( | short * | data | ) |
Definition at line 129 of file foo.cxx.
References cat_error(), chandle, error_str, latency, latency_min, and phandle.
Referenced by ReadBuf(), and WriteBuf().
void SndPcm::Start | ( | void | ) |
void SndPcm::Stop | ( | void | ) |
void SndPcm::WriteBuf | ( | short * | data | ) | [inline] |
Definition at line 65 of file SndPcm.hxx.
References latency, phandle, and RecoverXRun().
void SndPcm::WriteBuf | ( | short * | data, |
int | len | ||
) | [inline] |
Definition at line 81 of file SndPcm.hxx.
References phandle, and RecoverXRun().
Definition at line 48 of file SndPcm.hxx.
snd_pcm_t * SndPcm::chandle |
Definition at line 52 of file SndPcm.hxx.
Referenced by Poll(), ReadBuf(), RecoverXRun(), SndPcm(), Start(), Stop(), and ~SndPcm().
Definition at line 43 of file SndPcm.hxx.
Definition at line 44 of file SndPcm.hxx.
char SndPcm::error_str[1024] |
Definition at line 54 of file SndPcm.hxx.
Referenced by cat_error(), RecoverXRun(), SndPcm(), and Start().
snd_pcm_format_t SndPcm::format |
Definition at line 41 of file SndPcm.hxx.
Definition at line 45 of file SndPcm.hxx.
Referenced by ReadBuf(), RecoverXRun(), SndPcm(), Start(), and WriteBuf().
Definition at line 47 of file SndPcm.hxx.
Referenced by SndPcm().
Definition at line 46 of file SndPcm.hxx.
Referenced by RecoverXRun(), and SndPcm().
snd_pcm_t* SndPcm::phandle |
Definition at line 52 of file SndPcm.hxx.
Referenced by RecoverXRun(), SndPcm(), Start(), Stop(), WriteBuf(), and ~SndPcm().
Definition at line 42 of file SndPcm.hxx.
Referenced by SndPcm().
Definition at line 49 of file SndPcm.hxx.
Referenced by SndPcm().
Definition at line 50 of file SndPcm.hxx.
Referenced by SndPcm().