#include <stdio.h>
#include <math.h>
#include "portaudio.h"
Data Structures | |
struct | patest1data |
Defines | |
#define | M_PI (3.14159265) |
#define | SAMPLE_RATE (44100) |
Functions | |
int | main (int argc, char *argv[]) |
#define M_PI (3.14159265) |
#define SAMPLE_RATE (44100) |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
References AUDIO, audioDev, BLOCK_SIZE, buffer, CHANNEL_COUNT, PaStreamParameters::channelCount, PaWinMmeStreamInfo::channelMask, PaWinDirectSoundStreamInfo::channelMask, paTestData::currentChannel, paTestData::cycleCount, PaDeviceInfo::defaultLowOutputLatency, PaHostApiInfo::defaultOutputDevice, PaStreamParameters::device, PaWinMmeStreamInfo::flags, PaWinDirectSoundStreamInfo::flags, FRAMES_PER_BUFFER, PaStreamParameters::hostApiSpecificStreamInfo, PaWinMmeStreamInfo::hostApiType, PaWinDirectSoundStreamInfo::hostApiType, M_PI, NUM_BYTES, NUM_SECONDS, Pa_CloseStream(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_GetHostApiInfo(), Pa_HostApiTypeIdToHostApiIndex(), Pa_Initialize(), Pa_IsFormatSupported(), Pa_OpenStream(), Pa_Sleep(), Pa_StartStream(), Pa_StopStream(), Pa_Terminate(), paClipOff, paDirectSound, paFloat32, paFormatIsSupported, paMME, paNoError, PAWIN_SPEAKER_5POINT1, paWinDirectSoundUseChannelMask, paWinMmeUseChannelMask, paTestData::phase, SAMPLE_RATE, PaStreamParameters::sampleFormat, paTestData::sine, PaWinMmeStreamInfo::size, PaWinDirectSoundStreamInfo::size, PaStreamParameters::suggestedLatency, TABLE_SIZE, PaWinMmeStreamInfo::version, and PaWinDirectSoundStreamInfo::version.