patest_record.c File Reference

Record input into an array; Save array to a file; Playback recorded data. More...

#include <stdio.h>
#include <stdlib.h>
#include "portaudio.h"

Data Structures

struct  paTestData

Defines

#define SAMPLE_RATE   (44100)
#define FRAMES_PER_BUFFER   (512)
#define NUM_SECONDS   (5)
#define NUM_CHANNELS   (2)

Typedefs

typedef float SAMPLE

Functions

int main (void)

Detailed Description

Record input into an array; Save array to a file; Playback recorded data.

Author:
Phil Burk http://www.softsynth.com

Define Documentation

#define FRAMES_PER_BUFFER   (512)
#define NUM_CHANNELS   (2)
#define NUM_SECONDS   (5)
#define SAMPLE_RATE   (44100)

Typedef Documentation

typedef unsigned char SAMPLE

Function Documentation

int main ( void   ) 

Generated for PortAudio by  doxygen1.6.1