summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/sound.h
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2001-07-02 15:27:28 +0000
committergreen <green@FreeBSD.org>2001-07-02 15:27:28 +0000
commit9243c4f1a8f9d9e3568d0f943ae5147a24e62e46 (patch)
tree023577fe7d9f79128cbd9ba190280135ebf61495 /sys/dev/sound/pcm/sound.h
parentfd2fcd17ee2995f9eec606ef9b918fe0e766545f (diff)
downloadFreeBSD-src-9243c4f1a8f9d9e3568d0f943ae5147a24e62e46.zip
FreeBSD-src-9243c4f1a8f9d9e3568d0f943ae5147a24e62e46.tar.gz
Make all this compile on 4.3, modulus sbuf.
Diffstat (limited to 'sys/dev/sound/pcm/sound.h')
-rw-r--r--sys/dev/sound/pcm/sound.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h
index f38a059..f759c58 100644
--- a/sys/dev/sound/pcm/sound.h
+++ b/sys/dev/sound/pcm/sound.h
@@ -75,6 +75,8 @@
#if __FreeBSD_version > 500000
#define USING_MUTEX
#define USING_DEVFS
+#else
+#define INTR_TYPE_AV INTR_TYPE_MISC
#endif
#define SND_DYNSYSCTL
@@ -95,9 +97,13 @@ struct isa_device { int dummy; };
#endif /* _OS_H_ */
struct pcm_channel;
+typedef struct pcm_channel pcm_channel;
struct pcm_feeder;
+typedef struct pcm_feeder pcm_feeder;
struct snd_dbuf;
+typedef struct snd_dbuf snd_dbuf;
struct snd_mixer;
+typedef struct snd_mixer snd_mixer;
#include <dev/sound/pcm/buffer.h>
#include <dev/sound/pcm/channel.h>
OpenPOWER on IntegriCloud