|
PortAudio 2.0
|
Play two streams at different rates to make sure they don't interfere. More...
Data Structures | |
| struct | paTestData |
Macros | |
| #define | OUTPUT_DEVICE (Pa_GetDefaultOutputDeviceID()) |
| #define | SAMPLE_RATE_1 (44100) |
| #define | SAMPLE_RATE_2 (48000) |
| #define | FRAMES_PER_BUFFER (256) |
| #define | FREQ_INCR (0.1) |
| #define | M_PI (3.14159265) |
Functions | |
| int | main (void) |
Play two streams at different rates to make sure they don't interfere.
| #define FRAMES_PER_BUFFER (256) |
Referenced by main().
| #define FREQ_INCR (0.1) |
| #define M_PI (3.14159265) |
| #define OUTPUT_DEVICE (Pa_GetDefaultOutputDeviceID()) |
| #define SAMPLE_RATE_1 (44100) |
Referenced by main().
| #define SAMPLE_RATE_2 (48000) |
Referenced by main().
| int main | ( | void | ) |
References PaStreamParameters::channelCount, PaDeviceInfo::defaultLowOutputLatency, PaStreamParameters::device, FRAMES_PER_BUFFER, PaStreamParameters::hostApiSpecificStreamInfo, paTestData::numFrames, Pa_CloseStream(), Pa_GetDefaultOutputDevice(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_Initialize(), Pa_OpenStream(), Pa_Sleep(), Pa_StartStream(), Pa_StopStream(), Pa_Terminate(), paClipOff, paFloat32, paNoDevice, paNoError, SAMPLE_RATE_1, SAMPLE_RATE_2, PaStreamParameters::sampleFormat, and PaStreamParameters::suggestedLatency.