object
Object associated with this media
control interface command. The object can be one of the following:
- Device type
- Device name
- Filename
- Alias
CAN
EJECT
Returns FALSE. Wave audio devices cannot
eject the media.
CAN PLAY
CAN RECORD
Returns
TRUE if the current audio device supports recording.
CAN
SAVE
Returns TRUE if the wave audio device can
save data.
CAN SETVOLUME
Returns
TRUE if the device supports software control of volume level.
COMPOUND
DEVICE
Returns TRUE. Wave audio devices are
compound devices.
DEVICE TYPE
EXTENDED
Indicates
that extended capabilities are to be queried.
FORMAT
Indicates that waveaudio format will
be queried. If FORMAT is specified, BITSPERSAMPLE, SAMPLESPERSEC, TAG,
and CHANNELS must also be specified.
BITSPERSAMPLE integer
The integer indicates
the number of bits in a waveaudio sample (typically 8 or 16).
SAMPLESPERSEC
integer
The integer indicates the number of
samples per second the waveaudio will utilize.
TAG
type
The type is a valid format tag which can
be used with set (see the "SET object FORMAT
TAG" command).
CHANNELS integer
Where
integer indicates the number of channels (typically 1 or 2).
MODE
type
Where type is either play or record.
HAS AUDIO
HAS
VIDEO
Returns FALSE. Wave audio devices do
not support video.
MESSAGE command
Returns
TRUE if the device supports the command specified by command. The
command can be any string command such as OPEN, PLAY, and so on.
PREROLL TIME
Returns
0, indicating the preroll time is not bounded.
PREROLL
TYPE
Returns the preroll characteristics of
the device: Returns notified.
USES FILES
Returns TRUE. Wave audio devices use files
for operation.
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]