CD-XA Command Messages

┌──────────────────────────────┬───────────────────────────────────┐
│Message                       │Description                        │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_CLOSE                     │Closes the CD-XA device.           │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_CONNECTOR                 │Enables or disables a connector,   │
│                              │queries its state or identifies its│
│                              │type.                              │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_CUE                       │Cues the device for minimum delay  │
│                              │in playback.                       │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_GETDEVCAPS                │Gets device capabilities.          │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_INFO                      │Fills a user-supplied buffer with  │
│                              │the following information:         │
│                              │-Product name and model number of  │
│                              │the current audio device           │
│                              │-Serial number (UPC) of the disc   │
│                              │-Name of the currently loaded file │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_LOAD                      │Loads a data element into the CD-XA│
│                              │device.                            │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_OPEN                      │Initializes the CD-XA device.      │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_PAUSE                     │Suspends the current playback      │
│                              │action.                            │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_PLAY                      │Starts playing audio data from the │
│                              │device element. The following      │
│                              │optional action modifies MCI_PLAY: │
│                              │-Specify start and stop positions  │
│                              │in the device element              │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_RESUME                    │Resumes playing from a paused      │
│                              │state, keeping previously specified│
│                              │parameters in effect.              │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_SEEK                      │Moves to the specified position in │
│                              │the device element.                │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_SET                       │Sets audio attributes:             │
│                              │-Identify the channels to be used  │
│                              │-Set the volume                    │
│                              │-Enable or disable the audio output│
│                              │Retracts the tray and closes the   │
│                              │door, if possible                  │
│                              │Opens the door and ejects the tray,│
│                              │if possible                        │
│                              │Sets the time format in            │
│                              │milliseconds or MMTIME             │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_SET_CUEPOINT              │Sets a cue point.                  │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_SET_POSITION_ADVISE       │Sets a position change notification│
│                              │request.                           │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_SET_SYNC_OFFSET           │Sets a synchronization offset.     │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_STATUS                    │Receives status on items such as   │
│                              │the following:                     │
│                              │-Current volume setting            │
│                              │-Whether the media is present in   │
│                              │the device;                        │
│                              │-Current mode of the device, for   │
│                              │example, "stopped"                 │
│                              │-Current position in the media     │
│                              │-Destination of the data identified│
│                              │by channel number                  │
├──────────────────────────────┼───────────────────────────────────┤
│MCI_STOP                      │Stops playing the CD-XA device.    │
└──────────────────────────────┴───────────────────────────────────┘


[Back: Changing the Disc]
[Next: Videodisc Device]