patest_two_rates.c File Reference
Play two streams at different rates to make sure they don't interfere.
More...
#include <stdio.h>
#include <math.h>
#include "portaudio.h"
Detailed Description
Play two streams at different rates to make sure they don't interfere.
- Author:
- Phil Burk <philburk@softsynth.com>
Define Documentation
#define FRAMES_PER_BUFFER (256) |
#define OUTPUT_DEVICE (Pa_GetDefaultOutputDeviceID()) |
#define SAMPLE_RATE_1 (44100) |
#define SAMPLE_RATE_2 (44100) |
Function Documentation
References FRAMES_PER_BUFFER, OUTPUT_DEVICE, Pa_CloseStream(), Pa_GetErrorText(), Pa_Initialize(), Pa_OpenStream(), Pa_Sleep(), Pa_StartStream(), Pa_StopStream(), Pa_Terminate(), paClipOff, paFloat32, paNoDevice, paNoError, SAMPLE_RATE_1, and SAMPLE_RATE_2.