shithub: drawterm

Download patch

ref: a033ac892e17f6c70d6c2e17efbb0ece5384ceb5
parent: 12ce9a3cf548a8a6ef57e42b2363ef5dcbb49c78
author: Russ Cox <rsc@swtch.com>
date: Thu Mar 9 22:43:03 EST 2006

forgot

--- /dev/null
+++ b/kern/devaudio.h
@@ -1,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);