object
Object associated with this media
control interface command. The object can be one of the following:
- Device type
- Device name
- Filename
- Alias
ALIGNMENT
Returns the block alignment of data in bytes.
BITSPERSAMPLE
Returns
the bits per sample.
BYTESPERSEC
Returns
the average number of bytes per second played or recorded.
CHANNELS
Returns the number of channels set (1 for monaural,
2 for stereo).
CURRENT TRACK
Returns
1 for the current track.
FORMAT TAG
LENGTH
Returns
the total length of the waveform.
LENGTH TRACK
track_number
Returns the length of the specified
track.
LEVEL
Returns
the current audio sample value.
MEDIA PRESENT
MODE
Returns the current mode of the device: not
ready, stopped, playing, seeking, recording,
paused, or other.
NUMBER OF TRACKS
Returns the number of tracks.
POSITION
Returns the current position.
POSITION
TRACK track_number
Returns the position of the
track specified by track_number.
READY
Returns MCI_TRUE if the device is ready.
SAMPLESPERSEC
Returns the number of samples per second played
or recorded.
TIME FORMAT
VOLUME
Returns
the current volume setting. The volume is returned as a string in the format
left:right where left and right are percentages of
the maximum achievable effect for the left and right channels respectively.
Leading zeros are suppressed for the volume level in each channel.
WAIT
The command is executed synchronously. The
function waits until the requested action is complete before returning to
the application. The WAIT keyword must be specified in order to receive
return string information.
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]