Subject: why does audio system give only AUDIO_PLAY or AUDIO_RECORD for mode?
To: None <current-users@NetBSD.ORG>
From: John Kohl <jtk@kolvir.blrc.ma.us>
List: tech-kern
Date: 05/07/1995 14:43:20
In /sys/dev/audio.c, when querying for the current audio state, the code does:
	ai->mode = (sc->sc_mode & (1<<AUMODE_PLAY))?AUMODE_PLAY:AUMODE_RECORD;

Is there a good reason why it doesn't just return the mode as-is (so
that you can tell that it's in both record and play mode, for example,
on full-duplex cards)?

==John