⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 syncstartthread.java

📁 FMJ(freedom media for java)是java视频开发的新选择
💻 JAVA
字号:
package net.sf.fmj.ejmf.toolkit.media;import javax.media.Time;/** * Provides a thread to asynchronously SyncStart the given * AbstractController. * * From the book: Essential JMF, Gordon, Talley (ISBN 0130801046).  Used with permission. *  * @author     Steve Talley & Rob Gordon */public class SyncStartThread extends Thread {    private AbstractController controller;    private Time timeBaseStartTime;    /**     * Construct a SyncStartThread for the given     * AbstractController.  The AbstractController will not be     * syncStarted until this thread is started.     */    public SyncStartThread(        AbstractController controller,        Time timeBaseStartTime)    {        super();        this.controller = controller;        this.timeBaseStartTime = timeBaseStartTime;    }    /**     * syncStarts the AbstractController specified in the     * constructor.  This method should not be called directly.     * Use start() to start this thread.     */    public void run() {        controller.synchronousSyncStart(timeBaseStartTime);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -