|
PortAudio 2.0
|
Tests full duplex blocking I/O by passing input straight to output. More...
Macros | |
| #define | SAMPLE_RATE (44100) |
| #define | FRAMES_PER_BUFFER (512) |
| #define | NUM_SECONDS (10) |
| #define | DITHER_FLAG (0) |
| #define | PA_SAMPLE_TYPE paFloat32 |
| #define | SAMPLE_SIZE (4) |
| #define | SAMPLE_SILENCE (0.0f) |
| #define | PRINTF_S_FORMAT "%.8f" |
Functions | |
| int | main (void) |
Tests full duplex blocking I/O by passing input straight to output.
| #define DITHER_FLAG (0) |
| #define FRAMES_PER_BUFFER (512) |
Referenced by main().
| #define NUM_SECONDS (10) |
Referenced by main().
| #define PRINTF_S_FORMAT "%.8f" |
| #define SAMPLE_RATE (44100) |
Referenced by main().
| #define SAMPLE_SILENCE (0.0f) |
Referenced by main().
| #define SAMPLE_SIZE (4) |
Referenced by main().
| int main | ( | void | ) |
References PaStreamParameters::channelCount, PaDeviceInfo::defaultHighInputLatency, PaDeviceInfo::defaultHighOutputLatency, PaDeviceInfo::defaultLowInputLatency, PaDeviceInfo::defaultLowOutputLatency, PaStreamParameters::device, FRAMES_PER_BUFFER, PaStreamParameters::hostApiSpecificStreamInfo, PaDeviceInfo::maxInputChannels, PaDeviceInfo::maxOutputChannels, PaDeviceInfo::name, NUM_SECONDS, Pa_AbortStream(), Pa_CloseStream(), Pa_GetDefaultInputDevice(), Pa_GetDefaultOutputDevice(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_Initialize(), Pa_OpenStream(), Pa_ReadStream(), PA_SAMPLE_TYPE, Pa_StartStream(), Pa_StopStream(), Pa_Terminate(), Pa_WriteStream(), paClipOff, paInputOverflow, paNoError, paOutputUnderflow, SAMPLE_RATE, SAMPLE_SILENCE, SAMPLE_SIZE, PaStreamParameters::sampleFormat, and PaStreamParameters::suggestedLatency.