PortAudio 2.0
|
Test the paComplete callback result code. More...
Data Structures | |
struct | TestData |
Macros | |
#define | NUM_SECONDS (5) |
#define | NUM_LOOPS (4) |
#define | SAMPLE_RATE (44100) |
#define | FRAMES_PER_BUFFER (67) |
#define | M_PI (3.14159265) |
#define | TABLE_SIZE (200) |
Functions | |
int | main (void) |
Test the paComplete callback result code.
#define FRAMES_PER_BUFFER (67) |
Referenced by main().
#define M_PI (3.14159265) |
Referenced by main().
#define NUM_LOOPS (4) |
Referenced by main().
#define NUM_SECONDS (5) |
Referenced by main().
#define SAMPLE_RATE (44100) |
Referenced by main().
#define TABLE_SIZE (200) |
Referenced by main().
int main | ( | void | ) |
References TestData::callbackInvokedAfterReturningPaComplete, TestData::callbackReturnedPaComplete, PaStreamParameters::channelCount, PaDeviceInfo::defaultLowOutputLatency, PaStreamParameters::device, FRAMES_PER_BUFFER, TestData::generatedFramesCount, PaStreamParameters::hostApiSpecificStreamInfo, M_PI, TestData::message, NUM_LOOPS, NUM_SECONDS, Pa_CloseStream(), Pa_GetDefaultOutputDevice(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_Initialize(), Pa_IsStreamActive(), Pa_OpenStream(), Pa_SetStreamFinishedCallback(), Pa_Sleep(), Pa_StartStream(), Pa_StopStream(), Pa_Terminate(), paClipOff, paFloat32, paNoDevice, paNoError, TestData::phase, SAMPLE_RATE, PaStreamParameters::sampleFormat, TestData::sine, PaStreamParameters::suggestedLatency, and TABLE_SIZE.