JavaTM 2 Platform
Standard Ed. 6

类 javax.sound.sampled.Control
的使用

使用 Control 的软件包
javax.sound.sampled 提供用于捕获、处理和回放取样的音频数据的接口和类。 
 

javax.sound.sampled 中 Control 的使用
 

javax.sound.sampled 中 Control 的子类
 class BooleanControl
          BooleanControl 能够在影响行音频的两个可能的设置之间切换。
 class CompoundControl
          CompoundControl(如图形均衡器)控制两个或多个相关属性,每个属性本身都表示为 Control。
 class EnumControl
          EnumControl 提供对一组截然不同的可能值的控制,每个值都由一个对象表示。
 class FloatControl
          FloatControl 对象提供对浮点值范围的控制。
 

返回 Control 的 javax.sound.sampled 中的方法
 Control Line.getControl(Control.Type control)
          获得指定类型的控件,如果有的话。
 Control[] Line.getControls()
          获得与此行相关的控件集合。
 Control[] CompoundControl.getMemberControls()
          返回组成组合控件的成员控件集合。
 

参数类型为 Control 的 javax.sound.sampled 中的构造方法
CompoundControl(CompoundControl.Type type, Control[] memberControls)
          构造一个具有给定参数的新组合控件对象。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。