AudioInfoBody:
TYPE ~
RECORD [
play: AudioPRInfoBody ¬ [], -- output status information
record: AudioPRInfoBody ¬ [], -- input status information
monitorGain: INT ¬ defaultINT, -- input to output mix: 0 - 255
dummy: ARRAY [0..4) OF INT ¬ ALL[defaultINT] -- Reserved for future use.
];
AudioPRInfoBody:
TYPE ~
RECORD [
The following values describe the audio data encoding.
They are read-only for SPARCstation audio, but may be
dynamically configurable for other audio devices.
sampleRate: INT ¬ defaultINT, -- sample frames per second
channels: INT ¬ defaultINT, -- number of interleaved channels
precision: INT ¬ defaultINT, -- bits per sample
encoding: DataEncodingMethod ¬ demDefault,
The following values control audio device configuration
gain: INT ¬ defaultINT, -- gain level: 0-255
port: INT ¬ defaultINT, -- Selected I/O port (see below)
dummy:
ARRAY [0..4)
OF
INT ¬
ALL[defaultINT],
-- Reserved for future use.
The following values describe driver state
samples: INT ¬ defaultINT, -- number of samples converted
eof: INT ¬ defaultINT, -- number of EOF records (play only)
pause: CharBool ¬ cbDefault, -- TRUE to pause, FALSE to resume
error: CharBool ¬ cbDefault, -- TRUE if overflow/underflow
waiting: CharBool ¬ cbDefault, -- TRUE if a process wants access
cdummy1: CharBool ¬ cbDefault, -- Reserved for future use
cdummy2: CharBool ¬ cbDefault, -- Reserved for future use
cdummy3: CharBool ¬ cbDefault, -- Reserved for future use
The following values are read-only state flags
open: CharBool ¬ cbDefault, -- TRUE if access requested at open
active: CharBool ¬ cbDefault -- TRUE if HW I/O active
];