remove obsolete typedefs.

only define INTR_TYPE_AV if it is not already defined.
This commit is contained in:
Cameron Grant 2001-07-03 12:53:09 +00:00
parent 67defad7a1
commit cbe7d6a3ed
3 changed files with 5 additions and 7 deletions

View File

@ -36,7 +36,6 @@ struct pcmchan_caps {
u_int32_t *fmtlist;
u_int32_t caps;
};
typedef struct pcmchan_caps pcmchan_caps;
#define CHN_NAMELEN 32
struct pcm_channel {

View File

@ -37,6 +37,7 @@ devclass_t pcm_devclass;
int snd_unit = 0;
TUNABLE_INT("hw.snd.unit", &snd_unit);
#endif
int snd_autovchans = 0;
int snd_maxvchans = 0;
#if __FreeBSD_version > 500000

View File

@ -75,11 +75,13 @@
#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>