This commit is contained in:
Russ Cox 2006-03-10 03:43:03 +00:00
parent 12ce9a3cf5
commit a033ac892e
1 changed files with 25 additions and 0 deletions

25
kern/devaudio.h Normal file
View File

@ -0,0 +1,25 @@
enum
{
Fmono = 1,
Fin = 2,
Fout = 4,
Vaudio = 0,
Vsynth,
Vcd,
Vline,
Vmic,
Vspeaker,
Vtreb,
Vbass,
Vspeed,
Vpcm,
Nvol,
};
void audiodevopen(void);
void audiodevclose(void);
int audiodevread(void*, int);
int audiodevwrite(void*, int);
void audiodevgetvol(int, int*, int*);
void audiodevsetvol(int, int, int);