PortAudio 2.0
|
#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 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) |
int main | ( | void | ) |
int PaFindDeviceByName | ( | const char * | name | ) |
References PaDeviceInfo::name, Pa_GetDeviceInfo(), and paNoDevice.