summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/audioac97.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-05-16 22:31:27 +0000
committercinap_lenrek <cinap_lenrek@localhost>2011-05-16 22:31:27 +0000
commitbe81150bb4bf4bd24cda4481353840bc4885c1c8 (patch)
tree04490af5fbc68c39a0414f02e5d286a9bbf6ed0a /sys/src/9/pc/audioac97.c
parente4a839031a3c16737a420634195eb5cd1a94f86b (diff)
remove audio.h, put stuff in port^(dat fns).h
Diffstat (limited to 'sys/src/9/pc/audioac97.c')
-rw-r--r--sys/src/9/pc/audioac97.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/src/9/pc/audioac97.c b/sys/src/9/pc/audioac97.c
index 0dc38f6cb..c62f349d7 100644
--- a/sys/src/9/pc/audioac97.c
+++ b/sys/src/9/pc/audioac97.c
@@ -5,7 +5,6 @@
#include "fns.h"
#include "io.h"
#include "../port/error.h"
-#include "../port/audio.h"
typedef struct Hwdesc Hwdesc;
typedef struct Ctlr Ctlr;
@@ -141,6 +140,11 @@ enum {
#define csr16w(c, r, w) (outs((c)->port+(r), (ushort)(w)))
#define csr32w(c, r, w) (outl((c)->port+(r), (ulong)(w)))
+/* audioac97mix */
+extern int ac97hardrate(Audio *, int);
+extern void ac97mixreset(Audio *, void (*wr)(Audio*,int,ushort),
+ ushort (*rr)(Audio*,int));
+
static void
ac97waitcodec(Audio *adev)
{