PortAudio  2.0
Macros | Functions | Variables
recplay.c File Reference
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <fcntl.h>
#include <strings.h>
#include <sys/soundcard.h>

Macros

#define NUM_BYTES   (64*1024)
 
#define BLOCK_SIZE   (4*1024)
 
#define AUDIO   "/dev/dsp"
 

Functions

 main (int argc, char *argv[])
 

Variables

char buffer [NUM_BYTES]
 
int audioDev = 0
 

Macro Definition Documentation

#define AUDIO   "/dev/dsp"

Referenced by main().

#define BLOCK_SIZE   (4*1024)

Referenced by main().

#define NUM_BYTES   (64*1024)

Referenced by main().

Function Documentation

main ( int  argc,
char *  argv[] 
)

References AUDIO, audioDev, BLOCK_SIZE, buffer, and NUM_BYTES.

Variable Documentation

int audioDev = 0

Referenced by main().

char buffer[NUM_BYTES]