Note: Error codes, destination types, source types, target types, and control classes are defined in the header files MSSMixernnnConst.h (C/C++), MSSMixernnnConst.pas (Delphi) and MSSMixernnnConst.bas (Visual Basic).
The following types are defined for sources. These are returned by the Get Info methods, and can be specified when finding sources and controls.
In addition to the values listed below, the special value MSSMIX_SOURCE_CURRENT is used by the FindControl method.
MSSMIX_SOURCE_ANALOG
Audio line is an analog source (for example, analog output from a video-cassette tape).
MSSMIX_SOURCE_AUXILIARY
Audio line is a source originating from the auxiliary audio line. This line type is intended as a source with gain or attenuation that can be routed to the MSSMIX_DEST_SPEAKERS destination and/or recorded from the MSSMIX_DEST_WAVEIN destination.
MSSMIX_SOURCE_COMPACTDISC
Audio line is a source originating from the output of an internal audio CD. This component type is provided for audio cards that provide an audio source line intended to be connected to an audio CD (or CD-ROM playing an audio CD).
MSSMIX_SOURCE_DIGITAL
Audio line is a digital source (for example, digital output from a DAT or audio CD).
MSSMIX_SOURCE_LINE
Audio line is a line-level source (for example, line-level input from an external stereo) that can be used as an optional recording source. Because most audio cards for personal computers provide some sort of gain for the recording source line, the mixer device will use the MSSMIX_SOURCE_AUXILIARY type.
MSSMIX_SOURCE_MASTERCONTROLS
This type denotes the special source that is used by MSSMixer to group the master controls for a destination.
MSSMIX_SOURCE_MICROPHONE
Audio line is a microphone recording source. Most audio cards for personal computers provide at least two types of recording sources: an auxiliary audio line and microphone input. A microphone audio line typically provides some sort of gain. Audio cards that use a single input for use with a microphone or auxiliary audio line should use the MSSMIX_SOURCE_MICROPHONE component type.
MSSMIX_SOURCE_PCSPEAKER
Audio line is a source originating from personal computer speaker. Several audio cards for personal computers provide the ability to mix what would typically be played on the internal speaker with the output of an audio card. Some audio cards support the ability to use this output as a recording source.
MSSMIX_SOURCE_SYNTHESIZER
Audio line is a source originating from the output of an internal synthesizer. Most audio cards for personal computers provide some sort of MIDI synthesizer (for example, an Adlib®-compatible or OPL/3 FM synthesizer).
MSSMIX_SOURCE_TELEPHONE
Audio line is a source originating from an incoming telephone line.
MSSMIX_SOURCE_UNDEFINED
Audio line is a source that cannot be defined by one of the standard component types. A mixer device is required to use this component type for line component types that have not been defined by Microsoft Corporation.
MSSMIX_SOURCE_WAVEOUT
Audio line is a source originating from the waveform-audio output digital-to-analog converter (DAC). Most audio cards for personal computers provide this component type as a source to the MSSMIX_DEST_SPEAKERS destination. Some cards also allow this source to be routed to the MSSMIX_DEST_WAVEIN destination.