PortAudio
2.0
|
Start and stop the PortAudio Driver multiple times. More...
Data Structures | |
struct | paTestData |
Macros | |
#define | NUM_SECONDS (1) |
#define | SAMPLE_RATE (44100) |
#define | M_PI (3.14159265) |
#define | TABLE_SIZE (200) |
Functions | |
PaError | TestOnce (void) |
int | main (int argc, char **argv) |
Start and stop the PortAudio Driver multiple times.
#define M_PI (3.14159265) |
Referenced by TestOnce().
#define NUM_SECONDS (1) |
Referenced by TestOnce().
#define SAMPLE_RATE (44100) |
Referenced by TestOnce().
#define TABLE_SIZE (200) |
Referenced by TestOnce().
int main | ( | int | argc, |
char ** | argv | ||
) |
PaError TestOnce | ( | void | ) |
References PaStreamParameters::channelCount, PaDeviceInfo::defaultLowOutputLatency, PaStreamParameters::device, PaStreamParameters::hostApiSpecificStreamInfo, paTestData::left_phase, M_PI, NUM_SECONDS, Pa_CloseStream(), Pa_GetDefaultOutputDevice(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_Initialize(), Pa_OpenStream(), Pa_Sleep(), Pa_StartStream(), Pa_Terminate(), paClipOff, paInt16, paNoDevice, paNoError, paTestData::right_phase, SAMPLE_RATE, PaStreamParameters::sampleFormat, paTestData::sampsToGo, paTestData::sine, PaStreamParameters::suggestedLatency, and TABLE_SIZE.