/**
* This method allows to be notified for each event while playing a
* sound
*/
@Override
public synchronized void update(final LineEvent event) {
final Type eventType = event.getType();
if (eventType == Type.STOP || eventType == Type.CLOSE) {
done = true;
notifyAll();
}
}
TelegraphSound.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:mars-sim
作者:
评论列表
文章目录