object
Object associated with this media
control interface command. The object can be one of the following:
- Device type
- Device name
- Filename
- Alias
ENABLE
Enables information flow through the indicated
connector. Using this option requires that the NUMBER or TYPE keywords,
or both also be specified.
DISABLE
Disables
information flow through the indicated connector. Use of this option requires
that the NUMBER or TYPE keywords, or both also be specified.
QUERY
Queries the status of the indicated connector.
The return value will be either TRUE or FALSE to indicate enabled or disabled
respectively. Using this option requires that the NUMBER or TYPE keywords,
or both also be specified.
NUMBER connector_number
The connector number on which to perform the
requested action. If the TYPE keyword is included, the connector number
is interpreted as a relative offset within the specified connector type.
TYPE connector_type
Indicates
the type of connector to which the requested action applies. The following
connector types are directly supported by this device:
MIDI stream
Digital input or output for the audio
amplifier/mixer. This connector is always enabled.
The
MIDI sequencer device also recognizes the following connector types and
will attempt to control the corresponding amp/mixer connector if the amp/mixer
provides the support.
line out
The line output connector. This connector
is usually attached to the line in connector of another device such as a
tape recorder or other audio device.
speakers
The
speakers connector. This connector is usually attached to a pair of external
or internal speakers.
headphones
The
headphones connector. This connector is usually attached to a pair of headphones.
WAIT
The
command is executed synchronously. The function waits until the requested
action is complete before returning to the application.
NOTIFY
The command is executed asynchronously, allowing
control to be returned immediately to the application. When the requested
action is complete, an MM_MCINOTIFY
message is sent to the application window procedure.
[Back]
[Next]