#include <stdio.h>#include <math.h>#include "portaudio.h"#include "pa_asio.h"Data Structures | |
| struct | paTestData |
Defines | |
| #define | NUM_SECONDS (10) |
| #define | SAMPLE_RATE (44100) |
| #define | AMPLITUDE (0.8) |
| #define | FRAMES_PER_BUFFER (64) |
| #define | OUTPUT_DEVICE Pa_GetDefaultOutputDevice() |
| #define | M_PI (3.14159265) |
| #define | TABLE_SIZE (200) |
Functions | |
| int | main (void) |
| #define AMPLITUDE (0.8) |
Referenced by main().
| #define FRAMES_PER_BUFFER (64) |
Referenced by main().
| #define M_PI (3.14159265) |
Referenced by main().
| #define NUM_SECONDS (10) |
Referenced by main().
| #define OUTPUT_DEVICE Pa_GetDefaultOutputDevice() |
| #define SAMPLE_RATE (44100) |
Referenced by main().
| #define TABLE_SIZE (200) |
| int main | ( | void | ) |
References AMPLITUDE, PaStreamParameters::channelCount, PaAsioStreamInfo::channelSelectors, PaDeviceInfo::defaultLowOutputLatency, PaStreamParameters::device, PaAsioStreamInfo::flags, FRAMES_PER_BUFFER, PaStreamParameters::hostApiSpecificStreamInfo, PaAsioStreamInfo::hostApiType, M_PI, NUM_SECONDS, Pa_CloseStream(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_Initialize(), Pa_OpenStream(), Pa_Sleep(), Pa_StartStream(), Pa_StopStream(), Pa_Terminate(), paClipOff, paNoError, paTestData::phase, SAMPLE_RATE, PaStreamParameters::sampleFormat, paTestData::sine, PaAsioStreamInfo::size, PaStreamParameters::suggestedLatency, and PaAsioStreamInfo::version.
1.7.1