Audio Attributes
The OS/2 ampmix device provides the following control of audio signals.
Current values of audio attributes are retrieved using the MCI_STATUS message.
New values are set using the MCI_SET command.
Support of these features can vary by manufacturer. Some companies may develop
ampmix devices for use in OS/2 multimedia that provide additional capabilities.
To determine whether the device supports a feature, use the MCI_GETDEVCAPS
message. If the feature is not supported, MCIERR_UNSUPPORTED_FLAG is returned.
volume
Sets mixer-channel volume level as a percentage
of the maximum achievable effect. Volume of the left and right channels
for stereo signals can be set simultaneously using the keyword all,
or independently using keywords left and right. The keyword
over can be added to fade the volume in or out over a specified period
of time.
treble
Sets treble
as a percentage of the maximum achievable effect. The effect applies to
the final output mix. Any specification of a channel is ignored.
bass
Sets bass as a percentage of the maximum achievable
effect. The effect applies to the final output mix. Any specification of
a channel is ignored.
balance
Sets
balance. Zero is full left balance, 100 is full right balance. The effect
applies to the final output mix. Any specification of a channel is ignored.
pitch
Sets pitch as a percentage
of the maximum achievable effect. The effect applies to the final output
mix. Any specification of a channel is ignored.
gain
Sets gain as a percentage of the maximum achievable
effect for the currently selected input.
monitor
Sets monitor on or off. This feature
controls whether or not the signal from an input device is heard when it
is routed to another device for recording.
mute
loudness
Sets loudness as a percentage of the maximum achievable
effect.
mid
Sets mid as
a percentage of the maximum achievable effect.
reverb
Sets reverb as a percentage of the maximum achievable
effect.
auto level control
Sets
auto-level control (ALC) as a percentage of the maximum achievable effect.
chorus
Sets chorus as a
percentage of the maximum achievable effect.
crossover
Sets crossover as a percentage of the maximum achievable
effect.
custom1
Sets first
custom effect as a percentage of the maximum achievable effect.
custom2
Sets second custom effect as a percentage of the
maximum achievable effect.
custom3
Sets
third custom effect as a percentage of the maximum achievable effect.
stereoenhance
Sets stereo enhancement as a percentage of the maximum
achievable effect.
[Back: Sharing the Amplifier-Mixer Device]
[Next: Amp Mixer Connectors]