#include <linuxrec.h>
Public Member Functions | |
void | closeRecord () |
void | initRecord (struct recorder *rec, record_dev_id dev, WAVEFORMATEX *fmt) |
int | setRecordDuration (const float duration_time) |
struct DataBuff | startRecord () |
Private Attributes | |
struct DataBuff | audio_pcm_ |
int | audiobuf_size_ |
int | duration_time_ |
snd_pcm_format_t | format_ |
snd_pcm_uframes_t | frames_ |
snd_pcm_t * | handle_ |
snd_pcm_hw_params_t * | params_ |
struct recorder * | record_ |
int | record_loop_ |
unsigned int | record_rate_ |
Definition at line 67 of file linuxrec.h.
void RecordAlsaAPI::closeRecord | ( | ) |
Definition at line 215 of file linuxrec.cpp.
void RecordAlsaAPI::initRecord | ( | struct recorder * | rec, |
record_dev_id | dev, | ||
WAVEFORMATEX * | fmt | ||
) |
Definition at line 80 of file linuxrec.cpp.
int RecordAlsaAPI::setRecordDuration | ( | const float | duration_time | ) |
Definition at line 181 of file linuxrec.cpp.
struct DataBuff RecordAlsaAPI::startRecord | ( | ) |
Definition at line 188 of file linuxrec.cpp.
|
private |
Definition at line 84 of file linuxrec.h.
|
private |
Definition at line 82 of file linuxrec.h.
|
private |
Definition at line 83 of file linuxrec.h.
|
private |
Definition at line 79 of file linuxrec.h.
|
private |
Definition at line 80 of file linuxrec.h.
|
private |
Definition at line 81 of file linuxrec.h.
|
private |
Definition at line 77 of file linuxrec.h.
|
private |
Definition at line 76 of file linuxrec.h.
|
private |
Definition at line 85 of file linuxrec.h.
|
private |
Definition at line 78 of file linuxrec.h.