⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vc25pro_doc_unamsmixer.html

📁 Voice Commnucation Components for Delphi
💻 HTML
📖 第 1 页 / 共 2 页
字号:
  <P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">procedure <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.doOpen(); virtual;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">procedure <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.doClose(); virtual;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">constructor <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.create(master: <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>; index: unsigned);</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">destructor <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.destroy(); override;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">procedure <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.open();</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">procedure <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.close();</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">procedure <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.enumLines();</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.getLineCount(): unsigned;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.getID(): unsigned;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.locateTargetLine(targetType: unsigned): <A HREF="#class_unaMsMixerLine"><SPAN class="class">unaMsMixerLine</SPAN></A>;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.locateDestLine(destination: unsigned): <A HREF="#class_unaMsMixerLine"><SPAN class="class">unaMsMixerLine</SPAN></A>;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.locateComponentLine(componentType: unsigned = MIXERLINE_COMPONENTTYPE_DST_WAVEIN): <A HREF="#class_unaMsMixerLine"><SPAN class="class">unaMsMixerLine</SPAN></A>;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">property <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.caps: pMixerCapsW;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">property <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.active: bool;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">property <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.line[]: <A HREF="#class_unaMsMixerLine"><SPAN class="class">unaMsMixerLine</SPAN></A>;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">property <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>.winHandle: handle;</SPAN><P /></TD></TR></TABLE></DIV>
<DIV><P /><H4>Class <A NAME="class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>(<SPAN class="class">tObject</SPAN>)</H4><P />
    Mixer system. Use to get access to all mixer devices installed on a system.
  <P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">procedure <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.enumMixers(); virtual;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">constructor <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.create(enumOnCreate: bool = true);</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">destructor <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.destroy(); override;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">procedure <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.afterConstruction(); override;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">procedure <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.enumDevices();</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getMixerCount(): unsigned;</SPAN><P />
      returns number of mixers installed on a system.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getMixerId(deviceId: unsigned; isInDevice: bool): int;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getMixerIndex(mixerId: unsigned): int;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getDeviceId(isInDevice: bool; alsoCheckMapper: bool = false): int;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.selectMixer(imixer: unsigned; handle: unsigned = 0): bool; overload;</SPAN><P />
      selects and initializes specified mixer. All other methods works
      with selected mixer only. Valid mixer index is from 0 to number of mixers installed - 1.
      You can also specify handle of window to receive mixer-related messages.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.selectMixer(deviceId: unsigned; isInDevice: bool; handle: unsigned = 0): bool; overload;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getMixerName(): wideString;</SPAN><P />
      returns name of selected mixer.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getLineCount(): unsigned;</SPAN><P />
      returns number of lines for selected mixer.
      Usually mixer has only two lines: recording and playback.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getLineName(iline: unsigned; shortName: bool = false): wideString;</SPAN><P />
      returns name of specified line. Name can be short of full.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getLineIndex(isOut: bool = true; recLevel: int = 0): int;</SPAN><P />
      returns index of output (playback) line when isOut is true,
      or input (recording) line when isOut is false. Returned value
      can be passed as iline parameter for other line-related methods.
      recLevel parameter is internal, do not change it.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getLineConnectionCount(iline: unsigned): unsigned;</SPAN><P />
      returns number of connections for specified line.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getLineConnectionName(iline: unsigned; iconn: unsigned; shortName: bool = false): wideString;</SPAN><P />
      returns name of specified connection for specified line.
      Name can be short or full.
      Valid connection index is from 0 to number returned by
      getLineConnectionCount() - 1.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getLineConnectionType(iline: unsigned; iconn: int): unsigned;</SPAN><P />
      returns type of specified connection for specified line, or
      type of line itself when iconn is -1.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getLineConnectionByType(iline: unsigned; itype: unsigned; checkControlsNum: bool = true): int;</SPAN><P />
      returns connection index for specified line with given type.
      If no connection with specified type exists, returns -1.
      Example: getLineConnectionByType(0, MIXERLINE_COMPONENTTYPE_DST_WAVEIN)
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getVolumeControlID(iline: unsigned; iconn: int): int;</SPAN><P />
      returns ID of a control responsible for volume level for specified
      connection or line (when iconn = -1).
      This ID is useful in window messages handler only.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getVolume(iline: unsigned; iconn: int): int;</SPAN><P />
      returns volume level for specified connection or line (when iconn = -1).
      Returned value ranges from 0 (lowest) to 100 (highest).
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.setVolume(iline: unsigned; iconn: int; value: int): bool;</SPAN><P />
      sets volume level for specified control or line (when iconn = -1).
      Valid values for level are from 0 (lowest) to 100 (highest).
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getMuteControlID(iline: unsigned; iconn: int): int;</SPAN><P />
      returns control ID responsible for mute checkbox of specified
      connection or line (when iconn = -1).
      This ID is useful in window messages handler only.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.isMutedConnection(iline: unsigned; iconn: int): bool;</SPAN><P />
      returns true if specified connection or line (when iconn = -1) is muted.
      Otherwise returns false.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.muteConnection(iline: unsigned; iconn: int; doMute: bool): bool;</SPAN><P />
      mutes or unmutes specified connection or line (when iconn = -1).
      Returns true if operation was succesfull.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.getRecSource(): int;</SPAN><P />
      returns connection index selected as current recording source.
      If more than one connection can be selected, returns -1.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">function <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.setRecSource(iconn: unsigned; ensureNotMuted: bool = true): bool;</SPAN><P />
      sets specified connection as current recording source and optionally
      ensures it is not muted if more than one connection can be selected.
    </TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">property <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.mixer[]: <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>;</SPAN><P /></TD></TR></TABLE><P /><TABLE BORDER="1" width="100%"><TR><TD><SPAN class="source">property <A HREF="#class_unaMsMixerSystem"><SPAN class="class">unaMsMixerSystem</SPAN></A>.selectedMixer: <A HREF="#class_unaMsMixerDevice"><SPAN class="class">unaMsMixerDevice</SPAN></A>;</SPAN><P /></TD></TR></TABLE></DIV>
</DIV>
<DIV><HR /><P />Unit routines</DIV>
</DIV>
<HR><DIV style="text-align: center; font-size: 8pt">&copy; 2000-2007 <A HREF="http://www.lakeofsoft.com/">Lake of Soft, Ltd</A><BR></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -