* etc. if the queue is locked for other clients
*/
int owner; /* client id for owner of the queue */
- int locked:1; /* timing queue locked for other queues */
+ unsigned locked:1; /* timing queue locked for other queues */
char name[64]; /* name of this queue */
unsigned int flags; /* flags */
char reserved[60]; /* for future use */
snd_pcm_runtime_t *runtime;
/* -- timer section -- */
snd_timer_t *timer; /* timer */
- int timer_running: 1; /* time is running */
+ unsigned timer_running: 1; /* time is running */
spinlock_t timer_lock;
/* -- next substream -- */
snd_pcm_substream_t *next;
};
typedef struct _snd_pcm_oss_runtime {
- int params: 1, /* format/parameter change */
- prepare: 1, /* need to prepare the operation */
- trigger: 1, /* trigger flag */
- sync_trigger: 1; /* sync trigger flag */
+ unsigned params: 1, /* format/parameter change */
+ prepare: 1, /* need to prepare the operation */
+ trigger: 1, /* trigger flag */
+ sync_trigger: 1; /* sync trigger flag */
int rate; /* requested rate */
int format; /* requested OSS format */
unsigned int channels; /* requested channels */
} snd_pcm_oss_file_t;
typedef struct _snd_pcm_oss_substream {
- int oss: 1; /* oss mode */
+ unsigned oss: 1; /* oss mode */
snd_pcm_oss_setup_t *setup; /* active setup */
snd_pcm_oss_file_t *file;
} snd_pcm_oss_substream_t;
snd_pcm_t *pcm[6];
ichdev_t ichd[6];
- int multi4: 1,
- multi6: 1,
- smp20bit: 1;
- int in_ac97_init: 1,
- in_sdin_init: 1;
- int fix_nocache: 1; /* workaround for 440MX */
- int buggy_irq: 1; /* workaround for buggy mobos */
+ unsigned multi4: 1,
+ multi6: 1,
+ smp20bit: 1;
+ unsigned in_ac97_init: 1,
+ in_sdin_init: 1;
+ unsigned fix_nocache: 1; /* workaround for 440MX */
+ unsigned buggy_irq: 1; /* workaround for buggy mobos */
ac97_bus_t *ac97_bus;
ac97_t *ac97[3];