📄 extscheduledsoundheader.html
字号:
<PRE>public float <B>getSampleRate</B>()</PRE><DL><DD>This method gets the sample rate of the sound<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>sample rate</DL></DD></DL><HR><A NAME="setSampleRate(float)"><!-- --></A><H3>setSampleRate</H3><PRE>public void <B>setSampleRate</B>(float rate)</PRE><DL><DD>Sets the sample rate of the sound<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rate</CODE> - the sample rate as a floating point number</DL></DD></DL><HR><A NAME="getNumFrames()"><!-- --></A><H3>getNumFrames</H3><PRE>public int <B>getNumFrames</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setNumFrames(int)"><!-- --></A><H3>setNumFrames</H3><PRE>public void <B>setNumFrames</B>(int frames)</PRE><DL><DD>This method sets number of frames in the sound<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>frames</CODE> - number of frames</DL></DD></DL><HR><A NAME="getFormat()"><!-- --></A><H3>getFormat</H3><PRE>public int <B>getFormat</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setFormat(int)"><!-- --></A><H3>setFormat</H3><PRE>public void <B>setFormat</B>(int format)</PRE><DL><DD>This method sets format of the sound<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>format</CODE> - format of the sound</DL></DD></DL><HR><A NAME="setSampleSize(int)"><!-- --></A><H3>setSampleSize</H3><PRE>public void <B>setSampleSize</B>(int sampleSizeBits)</PRE><DL><DD>This sets the size of the samples in bits per channel<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>sampleSizeBits</CODE> - the number of bits per channel</DL></DD></DL><HR><A NAME="getSampleSize()"><!-- --></A><H3>getSampleSize</H3><PRE>public int <B>getSampleSize</B>()</PRE><DL><DD>This gets the size of the samples in bits per channel<DD><DL></DL></DD></DL><HR><A NAME="getCompressionID()"><!-- --></A><H3>getCompressionID</H3><PRE>public int <B>getCompressionID</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setCompressionID(int)"><!-- --></A><H3>setCompressionID</H3><PRE>public void <B>setCompressionID</B>(int id)</PRE><DL><DD>This method sets id of the compression component associated with the sound<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - compressor id</DL></DD></DL><HR><A NAME="getPacketSize()"><!-- --></A><H3>getPacketSize</H3><PRE>public int <B>getPacketSize</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setPacketSize(int)"><!-- --></A><H3>setPacketSize</H3><PRE>public void <B>setPacketSize</B>(int size)</PRE><DL><DD>This method sets the packet size of the sound<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - size of the sound packet</DL></DD></DL><HR><A NAME="getStartTime()"><!-- --></A><H3>getStartTime</H3><PRE>public <A HREF="../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A> <B>getStartTime</B>() throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD><DL></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> startTime)</PRE><DL><DD>This method sets the time that the sound should begin playing<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>startTime</CODE> - the time the sound should play (in the future)</DL></DD></DL><HR><A NAME="getExtendedFlags()"><!-- --></A><H3>getExtendedFlags</H3><PRE>public int <B>getExtendedFlags</B>()</PRE><DL><DD>Gets the value of the extended flags field.<DD><DL></DL></DD></DL><HR><A NAME="setExtendedFlags(int)"><!-- --></A><H3>setExtendedFlags</H3><PRE>public void <B>setExtendedFlags</B>(int extFlags)</PRE><DL><DD>Sets the value of the extended flags field.<DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A></CODE></B></DD><DD>A String representation of the class.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../quicktime/util/QTPointerRef.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a String representation of this object</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ExtScheduledSoundHeader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../quicktime/sound/CompressionInfo.html"><B>PREV CLASS</B></A> <A HREF="../../quicktime/sound/SCStatus.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="ExtScheduledSoundHeader.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -