patest_many.c File Reference
Start and stop the PortAudio Driver multiple times.
More...
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "portaudio.h"
Detailed Description
Start and stop the PortAudio Driver multiple times.
- Author:
- Phil Burk http://www.softsynth.com
Define Documentation
#define SAMPLE_RATE (44100) |
Function Documentation
int main |
( |
int |
argc, |
|
|
char ** |
argv | |
|
) |
| | |
References PaStreamParameters::channelCount, PaDeviceInfo::defaultLowOutputLatency, PaStreamParameters::device, PaStreamParameters::hostApiSpecificStreamInfo, paTestData::left_phase, M_PI, NUM_SECONDS, Pa_CloseStream(), Pa_GetDefaultOutputDevice(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_Initialize(), Pa_OpenStream(), Pa_Sleep(), Pa_StartStream(), Pa_Terminate(), paClipOff, paInt16, paNoError, paTestData::right_phase, SAMPLE_RATE, PaStreamParameters::sampleFormat, paTestData::sampsToGo, paTestData::sine, PaStreamParameters::suggestedLatency, and TABLE_SIZE.