summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/pcm/sound.h')
-rw-r--r--sys/dev/sound/pcm/sound.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h
index 934fd68..3bb0b27 100644
--- a/sys/dev/sound/pcm/sound.h
+++ b/sys/dev/sound/pcm/sound.h
@@ -75,12 +75,14 @@
#if __FreeBSD_version > 500000
#define USING_MUTEX
#define USING_DEVFS
-#else
-#define INTR_TYPE_AV INTR_TYPE_TTY
#endif
#define SND_DYNSYSCTL
#ifndef INTR_MPSAFE
+#define INTR_TYPE_AV INTR_TYPE_TTY
+#endif
+
+#ifndef INTR_MPSAFE
#define INTR_MPSAFE 0
#endif
@@ -97,13 +99,9 @@ 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