软件包 | 描述 |
---|---|
javax.sound.sampled |
提供采样音频数据的捕获、处理和回放的接口和类。
|
Modifier and Type | Interface and Description |
---|---|
interface |
Clip
的
Clip 接口代表一种特殊的数据线的音频数据可以被加载之前播放,而不是实时流。
|
interface |
DataLine
DataLine 添加媒体相关的功能,其超,
。
|
interface |
Mixer
混频器是一个具有一个或多个行的音频设备。
|
interface |
Port
端口是用于输入或输出音频或音频设备的简单的线。
|
interface |
SourceDataLine
源数据线是一个数据可能被写入的数据线。
|
interface |
TargetDataLine
目标数据线是一种
从音频数据可以被读取。
|
Modifier and Type | Method and Description |
---|---|
Line |
LineEvent.getLine()
获取此事件的源代码的音频线。
|
static Line |
AudioSystem.getLine(Line.Info info)
获得线相匹配的描述在指定的
Line.Info 对象。
|
Line |
Mixer.getLine(Line.Info info)
得到一个线,可供使用和匹配的描述在指定的
Line.Info 对象。
|
Line[] |
Mixer.getSourceLines()
获取当前对该混频器打开的所有源行集的集合。
|
Line[] |
Mixer.getTargetLines()
获取当前从该混频器打开的所有目标行集的集合。
|
Modifier and Type | Method and Description |
---|---|
boolean |
Mixer.isSynchronizationSupported(Line[] lines, boolean maintainSync)
报告此密炼机是否支持指定的行集的同步。
|
void |
Mixer.synchronize(Line[] lines, boolean maintainSync)
将两个或两个以上的线。
|
void |
Mixer.unsynchronize(Line[] lines)
释放指定行的同步。
|
Constructor and Description |
---|
LineEvent(Line line, LineEvent.Type type, long position)
构造一个新的指定类型的事件,源于指定的行。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.