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

📄 extscheduledsoundheader.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/sound/ExtScheduledSoundHeader.html#setExtendedFlags(int)">setExtendedFlags</A></B>(int&nbsp;extFlags)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of the extended flags field.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/sound/ExtScheduledSoundHeader.html#setFormat(int)">setFormat</A></B>(int&nbsp;format)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method sets format of the sound</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/sound/ExtScheduledSoundHeader.html#setNumChannels(int)">setNumChannels</A></B>(int&nbsp;numChannels)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This sets the number of channels used by the sound data</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/sound/ExtScheduledSoundHeader.html#setNumFrames(int)">setNumFrames</A></B>(int&nbsp;frames)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method sets number of frames in the sound</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/sound/ExtScheduledSoundHeader.html#setPacketSize(int)">setPacketSize</A></B>(int&nbsp;size)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method sets the packet size of the sound</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/sound/ExtScheduledSoundHeader.html#setSampleData(quicktime.util.QTPointerRef)">setSampleData</A></B>(<A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A>&nbsp;ref)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This sets the data of the sound header.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/sound/ExtScheduledSoundHeader.html#setSampleRate(float)">setSampleRate</A></B>(float&nbsp;rate)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the sample rate of the sound</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/sound/ExtScheduledSoundHeader.html#setSampleSize(int)">setSampleSize</A></B>(int&nbsp;sampleSizeBits)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This sets the size of the samples in bits per channel</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/sound/ExtScheduledSoundHeader.html#setStartTime(quicktime.std.clocks.TimeRecord)">setStartTime</A></B>(<A HREF="../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A>&nbsp;startTime)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method sets the time that the sound should begin playing</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/sound/ExtScheduledSoundHeader.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A String representation of the class.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.util.QTPointerRef"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.util.<A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, byte[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, char[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, double[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, float[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, int[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, long[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, short[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, byte[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, char[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, double[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, float[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, int[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, long[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, short[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#getBytes()">getBytes</A>, <A HREF="../../quicktime/util/QTPointerRef.html#getSize()">getSize</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.QTObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.<A HREF="../../quicktime/QTObject.html">QTObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A>, <A HREF="../../quicktime/QTObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../quicktime/QTObject.html#ID(quicktime.QTObject)">ID</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="kNativeSize"><!-- --></A><H3>kNativeSize</H3><PRE>public static final int <B>kNativeSize</B></PRE><DL><DD>This is the size (the number of bytes) that are required for this class</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ExtScheduledSoundHeader(quicktime.util.QTPointerRef, int, float, int, int)"><!-- --></A><H3>ExtScheduledSoundHeader</H3><PRE>public <B>ExtScheduledSoundHeader</B>(<A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A>&nbsp;data,                               int&nbsp;numChannels,                               float&nbsp;rate,                               int&nbsp;sampleSizeBits,                               int&nbsp;format)                        throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Create an ExtScheduledSoundHeader object when the sample data format is uncompressed.<DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the data used by the sound header<DD><CODE>numChannels</CODE> - the number of channels to be used. 1 = mono, 2 = streo<DD><CODE>rate</CODE> - the sample rate of the sound data<DD><CODE>sampleSizeBits</CODE> - number of bits per each sample.</DL></DD></DL><HR><A NAME="ExtScheduledSoundHeader(quicktime.util.QTPointerRef, int, float, int, int, int, int, int)"><!-- --></A><H3>ExtScheduledSoundHeader</H3><PRE>public <B>ExtScheduledSoundHeader</B>(<A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A>&nbsp;data,                               int&nbsp;numChannels,                               float&nbsp;rate,                               int&nbsp;numFrames,                               int&nbsp;sampleSizeBits,                               int&nbsp;format,                               int&nbsp;compressionID,                               int&nbsp;packetSize)                        throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Create an ExtScheduledSoundHeader object for use when the sample data is compressed.<DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the data used by the sound header<DD><CODE>numChannels</CODE> - the number of channels to be used. 1 = mono, 2 = streo<DD><CODE>rate</CODE> - the sample rate of the sound data<DD><CODE>numFrames</CODE> - the number of frames of sound data<DD><CODE>format</CODE> - the sound format described by the header<DD><CODE>sampleSizeBits</CODE> - number of bits per each sample.<DD><CODE>compressionID</CODE> - the ID of the compression component used to compress this sound<DD><CODE>packetSize</CODE> - the size of each sound packet</DL></DD></DL><HR><A NAME="ExtScheduledSoundHeader(quicktime.util.QTPointerRef, int, float, int, int, int, int, int, quicktime.std.clocks.TimeRecord, int)"><!-- --></A><H3>ExtScheduledSoundHeader</H3><PRE>public <B>ExtScheduledSoundHeader</B>(<A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A>&nbsp;data,                               int&nbsp;numChannels,                               float&nbsp;rate,                               int&nbsp;numFrames,                               int&nbsp;sampleSizeBits,                               int&nbsp;format,                               int&nbsp;compressionID,                               int&nbsp;packetSize,                               <A HREF="../../quicktime/std/clocks/TimeRecord.html">TimeRecord</A>&nbsp;startTime,                               int&nbsp;extendedFlags)                        throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Create an ExtScheduledSoundHeader object for the scheduled sound calls.<DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the data used by the sound header<DD><CODE>numChannels</CODE> - the number of channels to be used. 1 = mono, 2 = streo<DD><CODE>rate</CODE> - the sample rate of the sound data<DD><CODE>numFrames</CODE> - the number of frames of sound data<DD><CODE>format</CODE> - the sound format described by the header<DD><CODE>sampleSizeBits</CODE> - number of bits per each sample.<DD><CODE>compressionID</CODE> - the ID of the compression component used to compress this sound<DD><CODE>packetSize</CODE> - the size of each sound packet<DD><CODE>startTime</CODE> - a TimeRecord specifying the time the sound will start playing<DD><CODE>extendedFlags</CODE> - the extended flags field</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getSampleData()"><!-- --></A><H3>getSampleData</H3><PRE>public <A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A> <B>getSampleData</B>()</PRE><DL><DD>This returns a pointer to the sample data<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QTPointerRef</DL></DD></DL><HR><A NAME="setSampleData(quicktime.util.QTPointerRef)"><!-- --></A><H3>setSampleData</H3><PRE>public void <B>setSampleData</B>(<A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A>&nbsp;ref)</PRE><DL><DD>This sets the data of the sound header. The data must be passed in as a QTPointerRef<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ref</CODE> - the data pointer</DL></DD></DL><HR><A NAME="getNumChannels()"><!-- --></A><H3>getNumChannels</H3><PRE>public int <B>getNumChannels</B>()</PRE><DL><DD>This returns the number of channels. A value of one means the sound is mono<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>number of channels</DL></DD></DL><HR><A NAME="setNumChannels(int)"><!-- --></A><H3>setNumChannels</H3><PRE>public void <B>setNumChannels</B>(int&nbsp;numChannels)</PRE><DL><DD>This sets the number of channels used by the sound data<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>numChannels</CODE> - number of channels, 1 means mono</DL></DD></DL><HR><A NAME="getSampleRate()"><!-- --></A><H3>getSampleRate</H3>

⌨️ 快捷键说明

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