debug_record.c File Reference

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

Data Structures

struct  paTestData

Defines

#define SAMPLE_RATE   (22050)
#define NUM_SECONDS   (10)
#define SLEEP_DUR_MSEC   (200)
#define FRAMES_PER_BUFFER   (1<<10)
#define NUM_REC_BUFS   (0)
#define PA_SAMPLE_TYPE   paFloat32

Typedefs

typedef float SAMPLE

Functions

PaError TestRecording (paTestData *dataPtr)
PaError TestPlayback (paTestData *dataPtr)
int main (void)

Define Documentation

#define FRAMES_PER_BUFFER   (1<<10)
#define NUM_REC_BUFS   (0)

Referenced by main(), and TestRecording().

#define NUM_SECONDS   (10)
#define PA_SAMPLE_TYPE   paFloat32

Referenced by main(), TestPlayback(), and TestRecording().

#define SAMPLE_RATE   (22050)
#define SLEEP_DUR_MSEC   (200)

Typedef Documentation

typedef float SAMPLE

Function Documentation

int main ( void   ) 
PaError TestPlayback ( paTestData dataPtr  ) 
PaError TestRecording ( paTestData dataPtr  ) 

Generated for PortAudio by  doxygen1.6.1