projects
/
my-code
/
ivac.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
checkin of incomplete audio.* -> "ice cream & notebook in the garden ..." ;)
[my-code/ivac.git]
/
src
/
audio.h
1
/* audio.h -- audio headers */
2
3
#ifndef AUDIO_H
4
#define AUDIO_H
5
6
/* includes */
7
#include <sys/soundcard.h>
8
9
/* defines */
10
#define MAX_CHAR_DEVICE 32
11
#define SOUND_DEVICE "/dev/dsp"
12
13
/* audio specific variables */
14
typedef struct s_audio {
15
int fd;
16
char device[MAX_CHAR_DEVICE];
17
int cap;
18
} t_audio;
19
20
#endif