#include <stdio.h>#include <math.h>#include "portaudio.h"Data Structures | |
| struct | paTestData |
Defines | |
| #define | OUTPUT_DEVICE (Pa_GetDefaultOutputDeviceID()) |
| #define | SAMPLE_RATE (44100) |
| #define | FRAMES_PER_BUFFER (256) |
| #define | FREQ_INCR (300.0 / SAMPLE_RATE) |
| #define | MAX_CHANNELS (64) |
Functions | |
| int | main (void) |
| #define FRAMES_PER_BUFFER (256) |
| #define FREQ_INCR (300.0 / SAMPLE_RATE) |
| #define MAX_CHANNELS (64) |
| #define OUTPUT_DEVICE (Pa_GetDefaultOutputDeviceID()) |
| #define SAMPLE_RATE (44100) |
| int main | ( | void | ) |
References paTestData::amplitude, FRAMES_PER_BUFFER, MAX_CHANNELS, PaDeviceInfo::maxOutputChannels, paTestData::numChannels, OUTPUT_DEVICE, Pa_CloseStream(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_Initialize(), Pa_OpenStream(), Pa_StartStream(), Pa_StopStream(), Pa_Terminate(), paClipOff, paFloat32, paNoDevice, paNoError, and SAMPLE_RATE.
1.6.1