#include <SndPcm.hxx>
Definition at line 38 of file 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] |
| SndPcm::SndPcm | ( | int | irate, | |
| int | ichannels_in, | |||
| int | ichannels_out, | |||
| int | ilatency, | |||
| const char * | pdevice, | |||
| const char * | cdevice | |||
| ) |
Definition at line 40 of file SndPcm.cxx.
References block, cat_error(), chandle, channels_in, channels_out, error_str, format, latency, latency_max, latency_min, phandle, rate, tick_time, and tick_time_ok.
| void SndPcm::cat_error | ( | const char * | fmt, | |
| ... | ||||
| ) |
| void SndPcm::ReadBuf | ( | short * | data | ) | [inline] |
| void SndPcm::WriteBuf | ( | short * | data | ) | [inline] |
| void SndPcm::ReadBuf | ( | short * | data, | |
| int | len | |||
| ) | [inline] |
| void SndPcm::WriteBuf | ( | short * | data, | |
| int | len | |||
| ) | [inline] |
| void SndPcm::Start | ( | void | ) |
| void SndPcm::Stop | ( | void | ) |
| 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().
| snd_pcm_format_t SndPcm::format |
Definition at line 45 of file SndPcm.hxx.
Referenced by ReadBuf(), RecoverXRun(), SndPcm(), Start(), and WriteBuf().
| snd_pcm_t* SndPcm::phandle |
Definition at line 52 of file SndPcm.hxx.
Referenced by RecoverXRun(), SndPcm(), Start(), Stop(), WriteBuf(), and ~SndPcm().
| snd_pcm_t * SndPcm::chandle |
Definition at line 52 of file SndPcm.hxx.
Referenced by Poll(), ReadBuf(), RecoverXRun(), SndPcm(), Start(), Stop(), and ~SndPcm().
| char SndPcm::error_str[1024] |
Definition at line 54 of file SndPcm.hxx.
Referenced by cat_error(), RecoverXRun(), SndPcm(), and Start().
1.5.5