|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
public interface ModuleListener
ModuleListener
is an interface for handling asynchronous
events generated by Modules
.
Module
方法摘要 | |
---|---|
void |
bufferPrefetched(Module from)
This method is called when the module has prefetched all the data. |
void |
dataBlocked(Module from,
boolean blocked)
This method is called when the module detected a data blockage. |
void |
formatChanged(Module from,
Format oldFormat,
Format newFormat)
This method is called when a format change has occurred and the module has successfully coped with it. |
void |
formatChangedFailure(Module from,
Format oldFormat,
Format newFormat)
This method is called when a format change has occurred and the Module has failed to deal with it. |
void |
framesBehind(Module from,
float framesBehind,
InputConnector ic)
This method is called when a module detects frame delay. |
void |
internalErrorOccurred(Module from)
This method is called when an irrecoverable internal error has occurred either on the plugin or on the controlling module. |
void |
markedDataArrived(Module from,
Buffer buffer)
This method is called when a buffer with the marker bit set arrives. |
void |
mediaEnded(Module from)
This method is called when the module has reached the end of media. |
void |
pluginTerminated(Module from)
This method is called when the plugin controlled by the module has been closed. |
void |
resetted(Module from)
This method is called when the module has been resetted. |
void |
stopAtTime(Module from)
This method is called when the module has reached the scheduled stop time. |
方法详细信息 |
---|
void bufferPrefetched(Module from)
void stopAtTime(Module from)
void mediaEnded(Module from)
void resetted(Module from)
void dataBlocked(Module from, boolean blocked)
blocked
- is set to true if the data is blocked, false if the
data has been blocked but have now be released.void framesBehind(Module from, float framesBehind, InputConnector ic)
void markedDataArrived(Module from, Buffer buffer)
void formatChanged(Module from, Format oldFormat, Format newFormat)
void formatChangedFailure(Module from, Format oldFormat, Format newFormat)
void pluginTerminated(Module from)
void internalErrorOccurred(Module from)
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |