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

📄 inputintf.java

📁 uclinux 下的vlc播放器源代码
💻 JAVA
字号:
/***************************************************************************** * InputIntf.java: Input interface ***************************************************************************** * * Copyright (C) 1998-2006 the VideoLAN team *  * Author: Filippo Carone <filippo@carone.org> *  * Created on 28-feb-2006 * * $Id: InputIntf.java 17446 2006-11-04 09:43:22Z littlejohn $ * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 of the * License, or (at your option) any later version. *  * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * General Public License for more details. *  * You should have received a copy of the GNU General Public * License along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *  */package org.videolan.jvlc;/** * @author little * */public interface InputIntf {        /**     * @return The total length of the current file playing in millis.     * @throws VLCException     */    long getLength() throws VLCException;    /**     * @return The current position in millis within the playing item.     * @throws VLCException     */    long getTime() throws VLCException;        /**     * @return The position in %.     * @throws VLCException     */    float getPosition() throws VLCException;        /**     * Moves current input to position specified in a float [0-1].     * @param value The position, from 0 to 1, to move the input to.     * @throws VLCException     */    void setPosition( float value ) throws VLCException;        /**     * Moves current input to time specified in value     * @param value The time in milliseconds to move the input to.     * @throws VLCException     */    void setTime(long value) throws VLCException;            /**     * @return If the playing item is a video file, returns the FPS, otherwise 0.     * @throws VLCException     */    double getFPS() throws VLCException;            /**     * @return True if the current input is really playing     */    boolean isPlaying() throws VLCException;        /**     * @return True if the current input has spawned a video output window     */    boolean hasVout() throws VLCException;}

⌨️ 快捷键说明

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