PortAudio 2.0
Data Structures | Defines | Functions

debug_multi_in.c File Reference

#include <stdio.h>
#include <math.h>
#include <string.h>
#include "portaudio.h"

Data Structures

struct  paTestData

Defines

#define OUTPUT_DEVICE   (Pa_GetDefaultOutputDeviceID())
#define SAMPLE_RATE   (22050)
#define FRAMES_PER_BUFFER   (256)
#define MIN_LATENCY_MSEC   (400)
#define NUM_BUFFERS   ((MIN_LATENCY_MSEC * SAMPLE_RATE) / (FRAMES_PER_BUFFER * 1000))
#define M_PI   (3.14159265)

Functions

int PaFindDeviceByName (const char *name)
int main (void)

Define Documentation

#define FRAMES_PER_BUFFER   (256)
#define M_PI   (3.14159265)
#define MIN_LATENCY_MSEC   (400)
#define NUM_BUFFERS   ((MIN_LATENCY_MSEC * SAMPLE_RATE) / (FRAMES_PER_BUFFER * 1000))
#define OUTPUT_DEVICE   (Pa_GetDefaultOutputDeviceID())
#define SAMPLE_RATE   (22050)

Function Documentation

int main ( void  )
int PaFindDeviceByName ( const char *  name)