code: drawterm

ref: c0bdcc5a8543e1da29aa3fa584e6b8b7b27e1d5d
dir: /kern/devaudio.h/

View raw version
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);