PortAudio
2.0
|
Test stream priming mode. More...
Data Structures | |
struct | paTestData |
Macros | |
#define | NUM_BEEPS (3) |
#define | SAMPLE_RATE (44100) |
#define | SAMPLE_PERIOD (1.0/44100.0) |
#define | FRAMES_PER_BUFFER (256) |
#define | BEEP_DURATION (400) |
#define | IDLE_DURATION (SAMPLE_RATE*2) /* 2 seconds */ |
#define | SLEEP_MSEC (50) |
#define | STATE_BKG_IDLE (0) |
#define | STATE_BKG_BEEPING (1) |
Functions | |
int | main (void) |
Test stream priming mode.
#define BEEP_DURATION (400) |
#define FRAMES_PER_BUFFER (256) |
#define IDLE_DURATION (SAMPLE_RATE*2) /* 2 seconds */ |
#define NUM_BEEPS (3) |
#define SAMPLE_PERIOD (1.0/44100.0) |
#define SAMPLE_RATE (44100) |
#define SLEEP_MSEC (50) |
#define STATE_BKG_BEEPING (1) |
#define STATE_BKG_IDLE (0) |
int main | ( | void | ) |