PortAudio
2.0
|
#include <stdio.h>
#include <time.h>
#include <math.h>
#include <windows.h>
#include <mmsystem.h>
#include <conio.h>
#include <tchar.h>
#include "portaudio.h"
#include "pa_win_wmme.h"
Data Structures | |
struct | paTestData |
Macros | |
#define | _WIN32_WINNT 0x0501 /* for GetNativeSystemInfo */ |
#define | DEFAULT_SAMPLE_RATE (44100.) |
#define | M_PI (3.14159265) |
#define | TABLE_SIZE (2048) |
#define | CHANNEL_COUNT (2) |
#define | MIN_WMME_BUFFER_COUNT (2) |
#define | MAX_WMME_BUFFER_COUNT (12) |
#define | YES 1 |
#define | NO 0 |
Functions | |
typedef | BOOL (WINAPI *LPFN_ISWOW64PROCESS)(HANDLE |
int | main (int argc, char *argv[]) |
Variables | |
typedef | PBOOL |
LPFN_ISWOW64PROCESS | fnIsWow64Process |
#define _WIN32_WINNT 0x0501 /* for GetNativeSystemInfo */ |
#define CHANNEL_COUNT (2) |
#define DEFAULT_SAMPLE_RATE (44100.) |
Referenced by main().
#define M_PI (3.14159265) |
Referenced by main().
#define MAX_WMME_BUFFER_COUNT (12) |
Referenced by main().
#define MIN_WMME_BUFFER_COUNT (2) |
Referenced by main().
#define NO 0 |
Referenced by main().
#define TABLE_SIZE (2048) |
Referenced by main().
#define YES 1 |
Referenced by main().
typedef BOOL | ( | WINAPI * | LPFN_ISWOW64PROCESS | ) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
References DEFAULT_SAMPLE_RATE, PaHostApiInfo::defaultOutputDevice, M_PI, MAX_WMME_BUFFER_COUNT, MIN_WMME_BUFFER_COUNT, NO, Pa_GetDeviceCount(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_GetHostApiInfo(), Pa_HostApiTypeIdToHostApiIndex(), Pa_Initialize(), Pa_Terminate(), paMME, paNoError, paTestData::phase, paTestData::sine, TABLE_SIZE, usage(), and YES.
LPFN_ISWOW64PROCESS fnIsWow64Process |
typedef PBOOL |