#include <stdio.h>#include <math.h>#include <windows.h>#include <mmsystem.h>#include "portaudio.h"#include "pa_win_ds.h"Data Structures | |
| struct | paTestData |
Defines | |
| #define | NUM_SECONDS (12) |
| #define | SAMPLE_RATE (44100) |
| #define | FRAMES_PER_BUFFER (64) |
| #define | M_PI (3.14159265) |
| #define | TABLE_SIZE (100) |
| #define | CHANNEL_COUNT (6) |
Functions | |
| int | main (int argc, char *argv[]) |
| #define CHANNEL_COUNT (6) |
Referenced by main().
| #define FRAMES_PER_BUFFER (64) |
| #define M_PI (3.14159265) |
| #define NUM_SECONDS (12) |
| #define SAMPLE_RATE (44100) |
| #define TABLE_SIZE (100) |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
References CHANNEL_COUNT, PaStreamParameters::channelCount, PaWinDirectSoundStreamInfo::channelMask, paTestData::currentChannel, paTestData::cycleCount, PaDeviceInfo::defaultLowOutputLatency, PaHostApiInfo::defaultOutputDevice, PaStreamParameters::device, PaWinDirectSoundStreamInfo::flags, FRAMES_PER_BUFFER, PaStreamParameters::hostApiSpecificStreamInfo, PaWinDirectSoundStreamInfo::hostApiType, M_PI, 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, paNoError, PAWIN_SPEAKER_5POINT1, paWinDirectSoundUseChannelMask, paTestData::phase, SAMPLE_RATE, PaStreamParameters::sampleFormat, paTestData::sine, PaWinDirectSoundStreamInfo::size, PaStreamParameters::suggestedLatency, TABLE_SIZE, and PaWinDirectSoundStreamInfo::version.
1.5.8