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

📄 timebase.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<PRE>public static <A HREF="../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> <B>fromTunePlayer</B>(<A HREF="../../../quicktime/std/music/TunePlayer.html">TunePlayer</A>&nbsp;tp)                               throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the TunePlayer's current time Base.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/tp_qtma_qtmaref.24.htm#41874">QuickTime::TuneGetTimeBase</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the TimeBase<DT><B>See Also: </B><DD><A HREF="../../../quicktime/std/music/TunePlayer.html#getTimeBase()"><CODE>TunePlayer.getTimeBase()</CODE></A></DL></DD></DL><HR><A NAME="fromPresentation(quicktime.streaming.Presentation)"><!-- --></A><H3>fromPresentation</H3><PRE>public static <A HREF="../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> <B>fromPresentation</B>(<A HREF="../../../quicktime/streaming/Presentation.html">Presentation</A>&nbsp;p)                                 throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the Presentation's current time Base.</DL></DD><DD><DL><DT><B>Returns:</B><DD>the TimeBase<DT><B>See Also: </B><DD><A HREF="../../../quicktime/streaming/Presentation.html#getTimeBase()"><CODE>Presentation.getTimeBase()</CODE></A></DL></DD></DL><HR><A NAME="fromSequenceGrabber(quicktime.std.sg.SequenceGrabber)"><!-- --></A><H3>fromSequenceGrabber</H3><PRE>public static <A HREF="../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> <B>fromSequenceGrabber</B>(<A HREF="../../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A>&nbsp;sg)                                    throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the SequenceGrabber's current time Base.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/tp_qtma_qtmaref.24.htm#41874">QuickTime::TuneGetTimeBase</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>the TimeBase<DT><B>See Also: </B><DD><CODE>quicktime.std.music.SequenceGrabber#getTimeBase</CODE></DL></DD></DL><HR><A NAME="fromWallClock()"><!-- --></A><H3>fromWallClock</H3><PRE>public <A HREF="../../../quicktime/std/clocks/TimeBase.html">TimeBase</A> <B>fromWallClock</B>()                       throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the Time Base of the Wall Clock</DL></DD><DD><DL><DT><B>Returns:</B><DD>the TimeBase</DL></DD></DL><HR><A NAME="getTime()"><!-- --></A><H3>getTime</H3><PRE>public int <B>getTime</B>()</PRE><DL><DD>This allows your application to obtain the current time value from a time base in its preferred time scale. <BR><BR><b>QuickTime::GetTimeBaseTime</b><BR><BR><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The time value that contains the current time from the specified time base in specified time scale</DL></DD></DL><HR><A NAME="getTime(int)"><!-- --></A><H3>getTime</H3><PRE>public int <B>getTime</B>(int&nbsp;scale)</PRE><DL><DD>This allows your application to obtain the current time value from a time base. <BR><BR><b>QuickTime::GetTimeBaseTime</b><BR><BR><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scale</CODE> - Specifies the time scale in which to return the current time value<DT><B>Returns:</B><DD>The time value that contains the current time from the specified time base in specified time scale</DL></DD></DL><HR><A NAME="getTRTime()"><!-- --></A><H3>getTRTime</H3><PRE>public <A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> <B>getTRTime</B>()                     throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This allows your application to obtain the current time value from a time base in the default scale of the time base. <BR><BR><b>QuickTime::GetTimeBaseTime</b><BR><BR><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current time specified as a TimeRecord</DL></DD></DL><HR><A NAME="getTRTime(int)"><!-- --></A><H3>getTRTime</H3><PRE>public <A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> <B>getTRTime</B>(int&nbsp;scale)                     throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This allows your application to obtain the current time value from a time base. <BR><BR><b>QuickTime::GetTimeBaseTime</b><BR><BR><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scale</CODE> - Specifies the time scale in which to return the current time value<DT><B>Returns:</B><DD>the current time specified as a TimeRecord</DL></DD></DL><HR><A NAME="setTime(quicktime.std.clocks.TimeRecord)"><!-- --></A><H3>setTime</H3><PRE>public void <B>setTime</B>(<A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A>&nbsp;tr)</PRE><DL><DD>This allows your application to set the current time of a time base.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1176">QuickTime::SetTimeBaseTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tr</CODE> - The time structure that contains the current time</DL></DD></DL><HR><A NAME="setValue(int, int)"><!-- --></A><H3>setValue</H3><PRE>public void <B>setValue</B>(int&nbsp;time,                     int&nbsp;scale)</PRE><DL><DD>This allows your application to set the current time of a time base.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1180">QuickTime::SetTimeBaseValue</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>time</CODE> - Specifies the new time value<DD><CODE>scale</CODE> - Specifies the time scale of the new time value</DL></DD></DL><HR><A NAME="getRate()"><!-- --></A><H3>getRate</H3><PRE>public float <B>getRate</B>()</PRE><DL><DD>This allows your application to retrieve the rate of a time base.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1192">QuickTime::GetTimeBaseRate</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The current rate of the time base as a float</DL></DD></DL><HR><A NAME="setRate(float)"><!-- --></A><H3>setRate</H3><PRE>public void <B>setRate</B>(float&nbsp;rate)</PRE><DL><DD>This allows your application to set the rate of a time base.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1188">QuickTime::SetTimeBaseRate</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rate</CODE> - Specifies the time rate of the time base</DL></DD></DL><HR><A NAME="getEffectiveRate()"><!-- --></A><H3>getEffectiveRate</H3><PRE>public float <B>getEffectiveRate</B>()</PRE><DL><DD>Useful when needed to make scheduling decisions based on the rate of a time base.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1195">QuickTime::GetTimeBaseEffectiveRate</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The effective rate as an float</DL></DD></DL><HR><A NAME="getStartTime()"><!-- --></A><H3>getStartTime</H3><PRE>public int <B>getStartTime</B>()</PRE><DL><DD>This allows you to determine the start time of a time base in the preferred scale of the time base	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1201">QuickTime::GetTimeBaseStartTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The time value that contains the start time from the specified time base in the specified time scale</DL></DD></DL><HR><A NAME="getStartTime(int)"><!-- --></A><H3>getStartTime</H3><PRE>public int <B>getStartTime</B>(int&nbsp;scale)</PRE><DL><DD>This allows you to determine the start time of a time base.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1201">QuickTime::GetTimeBaseStartTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scale</CODE> - Specifies the time scale in which to return the start time<DT><B>Returns:</B><DD>The time value that contains the start time from the specified time base in the specified time scale</DL></DD></DL><HR><A NAME="getTRStartTime()"><!-- --></A><H3>getTRStartTime</H3><PRE>public <A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> <B>getTRStartTime</B>()                          throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This allows you to determine the start time of a time base in the default scale of the time base.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1201">QuickTime::GetTimeBaseStartTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The time value that contains the start time from the specified time base in the specified time scale</DL></DD></DL><HR><A NAME="getTRStartTime(int)"><!-- --></A><H3>getTRStartTime</H3><PRE>public <A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> <B>getTRStartTime</B>(int&nbsp;scale)                          throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This allows you to determine the start time of a time base.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1201">QuickTime::GetTimeBaseStartTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>scale</CODE> - Specifies the time scale in which to return the start time<DT><B>Returns:</B><DD>The time value that contains the start time from the specified time base in the specified time scale</DL></DD></DL><HR><A NAME="setStartTime(quicktime.std.clocks.TimeRecord)"><!-- --></A><H3>setStartTime</H3><PRE>public void <B>setStartTime</B>(<A HREF="../../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A>&nbsp;tr)</PRE><DL><DD>This allows you to set the start time of a time base and defines the time base's the minimum time value.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.4e.htm#iqMovi1197">QuickTime::SetTimeBaseStartTime</a> </b><BR><BR></DL></DD><DD><DL>

⌨️ 快捷键说明

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