Connector Types

Each connector is defined by specific type or name, so that applications can make requests symbolically instead of using an absolute connector number that is device dependent. If an application specifies only a connector type, then the default connector of that type is selected on the device. Both a type and a number may be specified to select connectors when more than one connector of the same type exists on a device.

The following table describes connector types and typical uses.

┌──────────────────────────┬─────────────┬───────────────────────────────────┐
│Connector Type            │Name         │Description                        │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_MIDI_STREAM_CONNECTOR │midi stream  │Digital input or output for the    │
│                          │             │sequencer device.  This information│
│                          │             │is typically streamed to an        │
│                          │             │amplifier-mixer logical device.    │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_CD_STREAM_CONNECTOR   │cd stream    │Digital output from a CD-ROM drive │
│                          │             │capable of reading the CD-DA data  │
│                          │             │directly off the disc.  This       │
│                          │             │information is typically streamed  │
│                          │             │to an amplifier-mixer logical      │
│                          │             │device.                            │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_XA_STREAM_CONNECTOR   │xa stream    │The flow of digital audio          │
│                          │             │information from a CD-ROM/XA drive │
│                          │             │capable of streaming the ADPCM data│
│                          │             │internally.  This information is   │
│                          │             │typically streamed to an           │
│                          │             │amplifier-mixer logical device.    │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_WAVE_STREAM_CONNECTOR │wave stream  │Digital input or output for the    │
│                          │             │waveaudio device. This information │
│                          │             │is typically streamed to an        │
│                          │             │amplifier-mixer logical device.    │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_AMP_STREAM_CONNECTOR  │amp stream   │The flow of information to an      │
│                          │             │amplifier-mixer device.  Typically │
│                          │             │this information comes from another│
│                          │             │logical device and can include     │
│                          │             │MIDI, and various kinds of digital │
│                          │             │audio.                             │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_HEADPHONES_CONNECTOR  │headphones   │The connector on the device labeled│
│                          │             │for, or typically used, to attach  │
│                          │             │headphones to the device.          │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_SPEAKERS_CONNECTOR    │speakers     │The connector on the device labeled│
│                          │             │for, or typically used, to attach  │
│                          │             │speakers to the device.            │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_MICROPHONE_CONNECTOR  │microphone   │The connector on the device labeled│
│                          │             │for, or typically used, to attach a│
│                          │             │microphone to the device.          │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_LINE_IN_CONNECTOR     │line in      │The connector on the device labeled│
│                          │             │for, or typically used to provide  │
│                          │             │line level input to the device.    │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_LINE_OUT_CONNECTOR    │line out     │The connector on the device labeled│
│                          │             │for, or typically used, to provide │
│                          │             │line level output from the device. │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_VIDEO_IN_CONNECTOR    │video in     │The connector on the device labeled│
│                          │             │for, or typically used to provide  │
│                          │             │video input to the device.         │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_VIDEO_OUT_CONNECTOR   │video out    │The connector on the device labeled│
│                          │             │for, or typically used, to provide │
│                          │             │video output from the device.      │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_PHONE_SET_CONNECTOR   │phone set    │The connector on the device labeled│
│                          │             │for, or typically used, to attach a│
│                          │             │phone set to the device.           │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_PHONE_LINE_CONNECTOR  │phone line   │The connector on the device labeled│
│                          │             │for, or typically used, to attach  │
│                          │             │an external phone line to the      │
│                          │             │device.                            │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_AUDIO_IN_CONNECTOR    │audio in     │The connector on the device labeled│
│                          │             │for, or typically used, to provide │
│                          │             │audio input to the device.         │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_AUDIO_OUT_CONNECTOR   │audio out    │The connector on the device labeled│
│                          │             │for, or typically used, to provide │
│                          │             │audio output from the device.      │
├──────────────────────────┼─────────────┼───────────────────────────────────┤
│MCI_UNIVERSAL_CONNECTOR   │universal    │A connector on a device which does │
│                          │             │not fall into any of the other     │
│                          │             │categories.  This connector type   │
│                          │             │may be used to access device       │
│                          │             │dependent function.  The           │
│                          │             │manufacturer of the device should  │
│                          │             │define the exact use of this       │
│                          │             │connector.                         │
└──────────────────────────┴─────────────┴───────────────────────────────────┘


[Back: Multimedia Information and OS/2 Multimedia Connectors]
[Next: A Connector Example Using the IBM M-Audio Adapter]