PortAudio 2.0
|
Debug a crash involving unplugging a USB device. More...
Data Structures | |
struct | paTestData |
Macros | |
#define | NUM_SECONDS (8) |
#define | SAMPLE_RATE (44100) |
#define | M_PI (3.14159265) |
#define | TABLE_SIZE (200) |
#define | FRAMES_PER_BUFFER (64) |
#define | MAX_CHANNELS (8) |
Functions | |
int | main (int argc, char **args) |
Debug a crash involving unplugging a USB device.
#define FRAMES_PER_BUFFER (64) |
Referenced by main().
#define M_PI (3.14159265) |
Referenced by main().
#define MAX_CHANNELS (8) |
#define NUM_SECONDS (8) |
Referenced by main().
#define SAMPLE_RATE (44100) |
Referenced by main().
#define TABLE_SIZE (200) |
Referenced by main().
int main | ( | int | argc, |
char ** | args ) |
References PaStreamParameters::channelCount, PaDeviceInfo::defaultLowInputLatency, PaDeviceInfo::defaultLowOutputLatency, PaStreamParameters::device, FRAMES_PER_BUFFER, PaStreamParameters::hostApiSpecificStreamInfo, M_PI, NUM_SECONDS, paTestData::numChannels, Pa_CloseStream(), Pa_GetDefaultInputDevice(), Pa_GetDefaultOutputDevice(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_GetLastHostErrorInfo(), Pa_Initialize(), Pa_IsStreamActive(), Pa_OpenStream(), Pa_Sleep(), Pa_StartStream(), Pa_Terminate(), paClipOff, paDitherOff, paInt16, paNoDevice, paNoError, SAMPLE_RATE, PaStreamParameters::sampleFormat, paTestData::sampsToGo, paTestData::sine, PaStreamParameters::suggestedLatency, and TABLE_SIZE.