PortAudio 2.0
patest_wmme_find_best_latency_params.c File Reference
#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
 

Typedefs

typedef BOOL(WINAPILPFN_ISWOW64PROCESS) (HANDLE, PBOOL)
 

Functions

int main (int argc, char *argv[])
 

Variables

LPFN_ISWOW64PROCESS fnIsWow64Process
 

Macro Definition Documentation

◆ _WIN32_WINNT

#define _WIN32_WINNT   0x0501 /* for GetNativeSystemInfo */

◆ CHANNEL_COUNT

#define CHANNEL_COUNT   (2)

◆ DEFAULT_SAMPLE_RATE

#define DEFAULT_SAMPLE_RATE   (44100.)

Referenced by main().

◆ M_PI

#define M_PI   (3.14159265)

Referenced by main().

◆ MAX_WMME_BUFFER_COUNT

#define MAX_WMME_BUFFER_COUNT   (12)

Referenced by main().

◆ MIN_WMME_BUFFER_COUNT

#define MIN_WMME_BUFFER_COUNT   (2)

Referenced by main().

◆ NO

#define NO   0

Referenced by main().

◆ TABLE_SIZE

#define TABLE_SIZE   (2048)

Referenced by main().

◆ YES

#define YES   1

Referenced by main().

Typedef Documentation

◆ LPFN_ISWOW64PROCESS

typedef BOOL(WINAPI * LPFN_ISWOW64PROCESS) (HANDLE, PBOOL)

Function Documentation

◆ main()

Variable Documentation

◆ fnIsWow64Process

LPFN_ISWOW64PROCESS fnIsWow64Process