diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-16 22:31:27 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-16 22:31:27 +0000 |
commit | be81150bb4bf4bd24cda4481353840bc4885c1c8 (patch) | |
tree | 04490af5fbc68c39a0414f02e5d286a9bbf6ed0a /sys/src/9/pc/audioac97.c | |
parent | e4a839031a3c16737a420634195eb5cd1a94f86b (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.c | 6 |
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) { |