#include "speakfree.h"#include <sys/dir.h>#include <sys/file.h>#include <errno.h>#include <sys/ioctl.h>#include <machine/soundcard.h>Compounds | |
| struct | sound_buf |
Defines | |
| #define | SoundFileIn "/dev/audio" |
| #define | SoundFileOut "/dev/audio" |
| #define | AUDIO_CTLDEV "/dev/mixer" |
| #define | MAX_GAIN 100 |
Functions | |
| int | soundinit (int iomode) |
| void | soundterm (void) |
| void | sound_open_file_descriptors (int *audio_io, int *audio_ctl) |
| void | soundplay (int len, unsigned char *buf) |
| void | soundplayvol (int value) |
| void | soundrecgain (int value) |
| void | sounddest (int where) |
| int | soundgrab (char *buf, int len) |
| void | soundflush (void) |
Variables | |
| int | abuf_size |
| char * | devAudioInput = SoundFileIn |
| char * | devAudioOutput = SoundFileOut |
| char * | devAudioControl = AUDIO_CTLDEV |
| int | audiof = -1 |
| int | stereo = 0 |
| int | Audio_fd |
| sound_buf * | sbchain = NULL |
| sound_buf * | sbtail = NULL |
| int | neverRelease = FALSE |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
LINUX |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.18