控制系统音量 MIXERLINE 结构体定义
cbStruct cbstruct
Size, in bytes, of the MIXERLINE structure.大小,在字节,该mixerline结构。 This member must be initialized before calling the mixerGetLineInfo function.这个成员必须初始化之前调用mixergetlineinfo功能。 The size specified in this member must be large enough to contain the MIXERLINE structure.大小指定的会员在这方面必须大到足以遏制mixerline结构。 When mixerGetLineInfo returns, this member contains the actual size of the information returned.当mixergetlineinfo的回报,这个成员包含的实际大小的资料,回来了。 The returned information will not exceed the requested size.返回的信息将不超过所要求的大小。
dwDestination dwdestination
Destination line index.目的地线指数。 This member ranges from zero to one less than the value specified in the cDestinations member of the MIXERCAPS structure retrieved by the mixerGetDevCaps function.这个会员的范围从零到一小于指定值,在cdestinations的成员之一, mixercaps结构拉丁由mixergetdevcaps功能。 When the mixerGetLineInfo function is called with the MIXER_GETLINEINFOF_DESTINATION flag, properties for the destination line are returned.当mixergetlineinfo功能是所谓的与mixer_getlineinfof_destination国旗,性能为目的地的路线返回。 (The dwSource member must be set to zero in this case.) When called with the MIXER_GETLINEINFOF_SOURCE flag, the properties for the source given by the dwSource member that is associated with the dwDestination member are returned. ( dwsource会员必须设置为零在这种情况下)时,所谓的与mixer_getlineinfof_source国旗,属性的来源所提供的dwsource会员是与dwdestination会员返回。
dwSource dwsource
Index for the audio source line associated with the dwDestination member.指数为音频源线与dwdestination会员。 That is, this member specifies the nth nth audio source line associated with the specified audio destination line.这是,这会员指定的北北音频源线与指定的目的地的音频线。 This member is not used for destination lines and must be set to zero when MIXER_GETLINEINFOF_DESTINATION is specified in the mixerGetLineInfo function.这个会员是不被用于目的地线,且必须设置为零时, mixer_getlineinfof_destination指定,在mixergetlineinfo功能。 When the MIXER_GETLINEINFOF_SOURCE flag is specified, this member ranges from zero to one less than the value specified in the cConnections member for the audio destination line given in the dwDestination member.当mixer_getlineinfof_source国旗是指定的,这会员范围从零到一小于指定值,在cconnections会员为目的地的音频线鉴于在该dwdestination会员。
dwLineID dwlineid
An identifier defined by the mixer device that uniquely refers to the audio line described by the MIXERLINE structure.一个标识符所界定的调音台设备,独特的指以音频线路描述由mixerline结构。 This identifier is unique for each mixer device and can be in any format.此标识符是独一无二的为每个混音器装置,可在任何格式。 An application should use this identifier only as an abstract handle.申请应使用这个标识符,只有作为一个抽象的处理。
fdwLine fdwline
Status and support flags for the audio line.地位和支持,国旗为音频线路。 This member is always returned to the application and requires no initialization.这个会员始终是返回到应用,并要求没有初始化。
MIXERLINE_LINEF_ACTIVE mixerline_linef_active
Audio line is active.音频线是活跃。 An active line indicates that a signal is probably passing through the line.积极线表明一个信号,可能是通过线。
MIXERLINE_LINEF_DISCONNECTED mixerline_linef_disconnected
Audio line is disconnected.音频线路断开。 A disconnected line's associated controls can still be modified, but the changes have no effect until the line is connected.断开线的相关管制,仍然可以修改,但变化不会影响到线连接。
MIXERLINE_LINEF_SOURCE mixerline_linef_source
Audio line is an audio source line associated with a single audio destination line.音频线是一个音频源线与一个单一的音频目的地的路线。 If this flag is not set, this line is an audio destination line associated with zero or more audio source lines.如果这国旗是没有设置,这条线是一个目的地的音频线与零个或多个音频源线。
If an application is not using a waveform-audio output device, the audio line associated with that device would not be active (that is, the MIXERLINE_LINEF_ACTIVE flag would not be set).如果应用程序是不是使用波形音频输出设备,音频线路相关的设备将不会积极的(即, mixerline_linef_active国旗,不会设定) 。 If the waveform-audio output device is opened, then the audio line is considered active and the MIXERLINE_LINEF_ACTIVE flag will be set.如果波形音频输出设备是开放的话,音频线路被认为是积极的和mixerline_linef_active国旗将被设置。 A paused or starved waveform-audio output device is still considered active.已暂停或饿死波形音频输出设备仍是活跃。 In other words, if the waveform-audio output device is opened by an application regardless of whether data is being played, the associated audio line is considered active.在其他换言之,如果波形音频输出设备是由一个开放的应用不论数据正在播放相关的音频线路被认为是活跃。 If a line cannot be strictly defined as active, the mixer device will always set the MIXERLINE_LINEF_ACTIVE flag.如果一条线,不能严格界定为积极,混音器装置将永远定mixerline_linef_active国旗。
dwUser dwuser
Instance data defined by the audio device for the line.例如数据所定义的音频设备为线。 This member is intended for custom mixer applications designed specifically for the mixer device returning this information.这个会员是打算自订混频器应用而设计的专门为混音器设备选举这方面的资料。 Other applications should ignore this data.其他应用程序应忽略此数据。
dwComponentType dwcomponenttype
Component type for this audio line.组件类型为这个音频线。 An application can use this information to display tailored graphics or to search for a particular component.一个应用程序可以使用这方面的资料显示定制的图形,或搜寻某一特定组成部分。 If an application does not use component types, this member should be ignored.如果应用程序不使用组件的类型,这成员国应该被忽略。 This member can be one of the following values:这会员可以为下列值之一:
MIXERLINE_COMPONENTTYPE_DST_DIGITAL mixerline_componenttype_dst_digital
Audio line is a digital destination (for example, digital input to a DAT or CD audio device).音频线是一个数字目标(例如,数字输入到一个数据或CD音频设备) 。
MIXERLINE_COMPONENTTYPE_DST_HEADPHONES mixerline_componenttype_dst_headphones
Audio line is an adjustable (gain and/or attenuation) destination intended to drive headphones.音频线是一个可调(增益和/或衰减)目的地的打算,以推动耳机。 Most audio cards use the same audio destination line for speakers and headphones, in which case the mixer device simply uses the MIXERLINE_COMPONENTTYPE_DST_SPEAKERS type.大多数音频卡使用相同的音频目的地的路线,扬声器和耳机,在这种情况下,混音器设备简单使用mixerline_componenttype_dst_speakers类型。
MIXERLINE_COMPONENTTYPE_DST_LINE mixerline_componenttype_dst_line
Audio line is a line level destination (for example, line level input from a CD audio device) that will be the final recording source for the analog-to-digital converter (ADC).音频线是一条线一级的目标(例如,线一级的投入从CD音频设备) ,这将是最后录音的来源为类比数位转换器( ADC ) 。 Because most audio cards for personal computers provide some sort of gain for the recording audio source line, the mixer device will use the MIXERLINE_COMPONENTTYPE_DST_WAVEIN type.因为大部分的音频卡,个人电脑提供某种增益为录音的来源路线,混音器设备将使用mixerline_componenttype_dst_wavein类型。
MIXERLINE_COMPONENTTYPE_DST_MONITOR mixerline_componenttype_dst_monitor
Audio line is a destination used for a monitor.音频线就是一个旅游景点,用于监测。
MIXERLINE_COMPONENTTYPE_DST_SPEAKERS mixerline_componenttype_dst_speakers
Audio line is an adjustable (gain and/or attenuation) destination intended to drive speakers.音频线是一个可调(增益和/或衰减)目的地的打算,以推动扬声器。 This is the typical component type for the audio output of audio cards for personal computers.这是典型的组件类型为音频输出的音频卡的个人电脑。
MIXERLINE_COMPONENTTYPE_DST_TELEPHONE mixerline_componenttype_dst_telephone
Audio line is a destination that will be routed to a telephone line.音频线是一个目的地将改为以一条电话线。
MIXERLINE_COMPONENTTYPE_DST_UNDEFINED mixerline_componenttype_dst_undefined
Audio line is a destination 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. 1混音器设备才能使用此组件类型为线组成类型尚未确定由Microsoft Corporation 。
MIXERLINE_COMPONENTTYPE_DST_VOICEIN mixerline_componenttype_dst_voicein
Audio line is a destination that will be the final recording source for voice input.音频线就是一个旅游景点,这将是最后录音的来源语音输入。 This component type is exactly like MIXERLINE_COMPONENTTYPE_DST_WAVEIN but is intended specifically for settings used during voice recording/recognition.这个组件类型是完全一样mixerline_componenttype_dst_wavein ,但用意是专为设置期间使用的录音/承认。 Support for this line is optional for a mixer device.支持这条路线是可选一个混音器设备。 Many mixer devices provide only MIXERLINE_COMPONENTTYPE_DST_WAVEIN.很多调音台设备只提供mixerline_componenttype_dst_wavein 。
MIXERLINE_COMPONENTTYPE_DST_WAVEIN mixerline_componenttype_dst_wavein
Audio line is a destination that will be the final recording source for the waveform-audio input (ADC).音频线就是一个旅游景点,这将是最后录音的来源为波形音频输入( ADC )的。 This line typically provides some sort of gain or attenuation.这条线通常是提供某种形式的增益或衰减。 This is the typical component type for the recording line of most audio cards for personal computers.这是典型的组件类型为记录线最音频卡的个人电脑。
MIXERLINE_COMPONENTTYPE_SRC_ANALOG mixerline_componenttype_src_analog
Audio line is an analog source (for example, analog output from a video-cassette tape).音频线是一模拟源(例如,模拟输出从一个视频盒式磁带) 。
MIXERLINE_COMPONENTTYPE_SRC_AUXILIARY mixerline_componenttype_src_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 MIXERLINE_COMPONENTTYPE_DST_SPEAKERS destination and/or recorded from the MIXERLINE_COMPONENTTYPE_DST_WAVEIN destination.这条线类是打算作为一个来源的增益或衰减,可以改为向mixerline_componenttype_dst_speakers目的地和/或记录从mixerline_componenttype_dst_wavein目的地。
MIXERLINE_COMPONENTTYPE_SRC_COMPACTDISC mixerline_componenttype_src_compactdisc
Audio line is a source originating from the output of an internal audio CD.音频线是源源自输出一个内部音频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).这个组件类型提供音频卡,提供了一个音频源线打算连接到音频CD (或CD - ROM扮演一个音频CD ) 。
MIXERLINE_COMPONENTTYPE_SRC_DIGITAL mixerline_componenttype_src_digital
Audio line is a digital source (for example, digital output from a DAT or audio CD).音频线是一个数字的来源(例如,数字输出从一个数据或音乐CD ) 。
MIXERLINE_COMPONENTTYPE_SRC_LINE mixerline_componenttype_src_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 MIXERLINE_COMPONENTTYPE_SRC_AUXILIARY type.因为大部分的音频卡,个人电脑提供某种增益为录音的来源路线,混音器设备将使用mixerline_componenttype_src_auxiliary类型。
MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE mixerline_componenttype_src_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.大多数音频卡,个人电脑,至少提供两种类型的录音资料来源: 1辅助音频线和麦克风输入。 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 MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE component type.音频卡,使用一个单一的投入使用麦克风或辅助音频线路应使用mixerline_componenttype_src_microphone组件类型。
MIXERLINE_COMPONENTTYPE_SRC_PCSPEAKER mixerline_componenttype_src_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.一些音频卡的支持能力,使用此输出作为录音的来源。
MIXERLINE_COMPONENTTYPE_SRC_SYNTHESIZER mixerline_componenttype_src_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).大多数音频卡,个人电脑提供某种的MIDI合成器(例如,一adlib ®兼容或战组织/ 3 FM合成器) 。
MIXERLINE_COMPONENTTYPE_SRC_TELEPHONE mixerline_componenttype_src_telephone
Audio line is a source originating from an incoming telephone line.音频线是源源自一传入电话线。
MIXERLINE_COMPONENTTYPE_SRC_UNDEFINED mixerline_componenttype_src_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. 1混音器设备才能使用此组件类型为线组成类型尚未确定由Microsoft Corporation 。
MIXERLINE_COMPONENTTYPE_SRC_WAVEOUT mixerline_componenttype_src_waveout
Audio line is a source originating from the waveform-audio output digital-to-analog converter (DAC).音频线是源源自波形音频输出型数位类比转换器( DAC ) 。 Most audio cards for personal computers provide this component type as a source to the MIXERLINE_COMPONENTTYPE_DST_SPEAKERS destination.大多数音频卡,个人电脑提供此组件类型作为一个来源到mixerline_componenttype_dst_speakers目的地。 Some cards also allow this source to be routed to the MIXERLINE_COMPONENTTYPE_DST_WAVEIN destination.一些卡,也让这个来源,改为向mixerline_componenttype_dst_wavein目的地。
cChannels cchannels
Maximum number of separate channels that can be manipulated independently for the audio line.人数最多单独的频道,可以操纵的独立的音频线。 The minimum value for this field is 1 because a line must have at least one channel.最低值为这一领域的是一,因为一条线必须至少有一个频道。 Most modern audio cards for personal computers are stereo devices; for them, the value of this member is 2.最先进的音频卡,个人电脑的立体声装置;对于他们来说,价值,这是会员2 。
Channel 1 is assumed to be the left channel; channel 2 is assumed to be the right channel.频道1 ,假设为左声道;渠道,二是假设是正确的渠道。 A multichannel line might have one or more uniform controls (controls that affect all channels of a line uniformly) associated with it.一个多通道线可能有一个或多个统一控制(管制,影响到所有的渠道,一条线均匀)与它关联。
cConnections cconnections
Number of connections that are associated with the audio line.连接数相关的音频线。 This member is used only for audio destination lines and specifies the number of audio source lines that are associated with it.这个会员是只能用于音频目的地的线路,并订明的数目音频源线,是与它关联。 This member is always zero for source lines and for destination lines that do not have any audio source lines associated with them.这个会员始终是零线的来源和目的地线,没有任何音讯来源线,与他们有联系的。
cControls ccontrols
Number of controls associated with the audio line.数目控制与音频线路。 This value can be zero.此值可以为零。 If no controls are associated with the line, the line is likely to be a source that might be selected in a MIXERCONTROL_CONTROLTYPE_MUX or MIXERCONTROL_CONTROLTYPE_MIXER but allows no manipulation of the signal.如果没有相关的管制与线,线是可能的一个来源可能选定在一个mixercontrol_controltype_mux或mixercontrol_controltype_mixer ,但允许没有操纵信号。
szShortName szshortname
Short string that describes the audio mixer line specified in the dwLineID member.短期字符串描述音频混合器线指明,在dwlineid会员。 This description should be appropriate as a concise label for the line.这说明应是适当的作为一个简洁的标签线。
szName szname
String that describes the audio mixer line specified in the dwLineID member.字符串描述音频混合器线指明,在dwlineid会员。 This description should be appropriate as a complete description for the line.这说明,应适当作为一个完整的描述为线。
Target 目标
Target media information.目标媒体的信息。
dwType dwtype
Target media device type associated with the audio line described in the MIXERLINE structure.目标媒体的设备类型与音频线路描述,在mixerline结构。 An application must ignore target information for media device types it does not use.应用程序必须忽略目标信息,为媒体设备类型,它不使用。 The following values are defined:下列值的定义是:
MIXERLINE_TARGETTYPE_AUX mixerline_targettype_aux
The audio line described by the MIXERLINE structure is strictly bound to the auxiliary device detailed in the remaining members of the Target structure member of the MIXERLINE structure.音频线所描述的由mixerline结构是严格绑定到辅助装置,在详细的其余成员的目标结构的成员之一, mixerline结构。
MIXERLINE_TARGETTYPE_MIDIIN mixerline_targettype_midiin
The audio line described by the MIXERLINE structure is strictly bound to the MIDI input device detailed in the remaining members of the Target structure member of the MIXERLINE structure.音频线所描述的由mixerline结构是严格绑定到MIDI输入设备,在详细的其余成员的目标结构的成员之一, mixerline结构。
MIXERLINE_TARGETTYPE_MIDIOUT mixerline_targettype_midiout
The audio line described by the MIXERLINE structure is strictly bound to the MIDI output device detailed in the remaining members of the Target structure member of the MIXERLINE structure.音频线所描述的由mixerline结构是严格绑定到的MIDI输出设备的详细在其余成员的目标结构的成员之一, mixerline结构。
MIXERLINE_TARGETTYPE_UNDEFINED mixerline_targettype_undefined
The audio line described by the MIXERLINE structure is not strictly bound to a defined media type.音频线所描述的由mixerline结构是没有严格的约束,以界定的媒体类型。 All remaining Target structure members of the MIXERLINE structure should be ignored.所有剩下的目标结构成员的mixerline结构应该被忽略。 An application cannot use the MIXERLINE_TARGETTYPE_UNDEFINED target type when calling the mixerGetLineInfo function with the MIXER_GETLINEINFOF_TARGETTYPE flag.一个应用程序无法使用mixerline_targettype_undefined目标类型时,调用mixergetlineinfo功能与mixer_getlineinfof_targettype国旗。
MIXERLINE_TARGETTYPE_WAVEIN mixerline_targettype_wavein
The audio line described by the MIXERLINE structure is strictly bound to the waveform-audio input device detailed in the remaining members of the Target structure member of the MIXERLINE structure.音频线所描述的由mixerline结构是严格绑定到波形音频输入设备的详细在其余成员的目标结构的成员之一, mixerline结构。
MIXERLINE_TARGETTYPE_WAVEOUT mixerline_targettype_waveout
The audio line described by the MIXERLINE structure is strictly bound to the waveform-audio output device detailed in the remaining members of the Target structure member of the MIXERLINE structure.音频线所描述的由mixerline结构是严格绑定到波形音频输出设备的详细在其余成员的目标结构的成员之一, mixerline结构。
dwDeviceID dwdeviceid
Current device identifier of the target media device when the dwType member is a target type other than MIXERLINE_TARGETTYPE_UNDEFINED.目前的设备标识符的目标媒体设备时, dwtype会员是一个目标类型以外的其他mixerline_targettype_undefined 。 This identifier is identical to the current media device index of the associated media device.此标识符是相同的目前的媒体设备指数相关联的媒体装置。 When calling the mixerGetLineInfo function with the MIXER_GETLINEINFOF_TARGETTYPE flag, this member is ignored on input and will be returned to the caller by the audio mixer manager.当调用mixergetlineinfo功能与mixer_getlineinfof_targettype国旗,这是忽略了会员的投入和将返回给调用由音频混合器经理。
wMid wmid
Manufacturer identifier of the target media device when the dwType member is a target type other than MIXERLINE_TARGETTYPE_UNDEFINED.制造商的标识符的目标媒体设备时, dwtype会员是一个目标类型以外的其他mixerline_targettype_undefined 。 This identifier is identical to the wMid member of the device-capabilities structure for the associated media.此标识符是一致的向wmid的成员之一,装置能力结构相关联的媒体。 Manufacturer identifiers are defined in Manufacturer and Product Identifiers .制造商标识符的定义是在制造商和产品标识 。
wPid wpid
Product identifier of the target media device when the dwType member is a target type other than MIXERLINE_TARGETTYPE_UNDEFINED.产品标识的目标媒体设备时, dwtype会员是一个目标类型以外的其他mixerline_targettype_undefined 。 This identifier is identical to the wPid member of the device-capabilities structure for the associated media.此标识符是一致的向wpid的成员之一,装置能力结构相关联的媒体。 Product identifiers are defined in Manufacturer and Product Identifiers .产品标识是指在制造商和产品标识 。
vDriverVersion vdriverversion
Driver version of the target media device when the dwType member is a target type other than MIXERLINE_TARGETTYPE_UNDEFINED.驱动程式版本的目标媒体设备时, dwtype会员是一个目标类型以外的其他mixerline_targettype_undefined 。 This version is identical to the vDriverVersion member of the device-capabilities structure for the associated media.这个版本是一致的向vdriverversion的成员之一,装置能力结构相关联的媒体。
szPname szpname
Product name of the target media device when the dwType member is a target type other than MIXERLINE_TARGETTYPE_UNDEFINED.产品名称的目标媒体设备时, dwtype会员是一个目标类型以外的其他mixerline_targettype_undefined 。 This name is identical to the szPname member of the device-capabilities structure for the associated media.这个名称是一致的向szpname的成员之一,装置能力结构相关联的媒体。