软件包 | 描述 |
---|---|
javax.sound.sampled |
提供采样音频数据的捕获、处理和回放的接口和类。
|
Modifier and Type | Field and Description |
---|---|
static LineEvent.Type |
LineEvent.Type.CLOSE
当一条线关闭时发送的一种事件类型,释放它打开时所获得的系统资源。
|
static LineEvent.Type |
LineEvent.Type.OPEN
当一行打开时发送的一种事件类型,为自己保留系统资源。
|
static LineEvent.Type |
LineEvent.Type.START
一种是发送时线开始从事活动的输入或响应一个
start 请求音频数据输出事件。
|
static LineEvent.Type |
LineEvent.Type.STOP
一种是发送时,线路输入或停止积极响应一个
stop 请求输出的音频数据的事件,或是因为媒体都已结束。
|
Modifier and Type | Method and Description |
---|---|
LineEvent.Type |
LineEvent.getType()
获得事件的类型。
|
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.