PortAudio
2.0
|
#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 |
#define AUDIO "/dev/dsp" |
Referenced by main().
#define BLOCK_SIZE (4*1024) |
Referenced by main().
#define NUM_BYTES (64*1024) |
Referenced by main().
main | ( | int | argc, |
char * | argv[] | ||
) |
References AUDIO, audioDev, BLOCK_SIZE, buffer, and NUM_BYTES.
int audioDev = 0 |
Referenced by main().
char buffer[NUM_BYTES] |