📄 soundcomponentdata.html
字号:
<TD><CODE>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <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="SoundComponentData()"><!-- --></A><H3>SoundComponentData</H3><PRE>public <B>SoundComponentData</B>()</PRE><DL></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="getFlags()"><!-- --></A><H3>getFlags</H3><PRE>public final int <B>getFlags</B>()</PRE><DL><DD>A set of bit flags whose meanings are specific to a particular sound component.<DD><DL></DL></DD></DL><HR><A NAME="setFlags(int)"><!-- --></A><H3>setFlags</H3><PRE>public final void <B>setFlags</B>(int flags)</PRE><DL><DD>A set of bit flags whose meanings are specific to a particular sound component.<DD><DL></DL></DD></DL><HR><A NAME="getFormat()"><!-- --></A><H3>getFormat</H3><PRE>public final int <B>getFormat</B>()</PRE><DL><DD>The format of the data a sound component is producing.<DD><DL></DL></DD></DL><HR><A NAME="setFormat(int)"><!-- --></A><H3>setFormat</H3><PRE>public final void <B>setFormat</B>(int format)</PRE><DL><DD>The format of the data a sound component is producing.<DD><DL></DL></DD></DL><HR><A NAME="getNumChannels()"><!-- --></A><H3>getNumChannels</H3><PRE>public final int <B>getNumChannels</B>()</PRE><DL><DD>The number of channels of sound in the output data stream.<DD><DL></DL></DD></DL><HR><A NAME="setNumChannels(int)"><!-- --></A><H3>setNumChannels</H3><PRE>public final void <B>setNumChannels</B>(int chans)</PRE><DL><DD>The number of channels of sound in the output data stream.<DD><DL></DL></DD></DL><HR><A NAME="getSampleSize()"><!-- --></A><H3>getSampleSize</H3><PRE>public final int <B>getSampleSize</B>()</PRE><DL><DD>The size, in bits, of each sample in the output data stream.<DD><DL></DL></DD></DL><HR><A NAME="setSampleSize(int)"><!-- --></A><H3>setSampleSize</H3><PRE>public final void <B>setSampleSize</B>(int sampleSize)</PRE><DL><DD>The size, in bits, of each sample in the output data stream.<DD><DL></DL></DD></DL><HR><A NAME="getSampleRate()"><!-- --></A><H3>getSampleRate</H3><PRE>public final float <B>getSampleRate</B>()</PRE><DL><DD>The sample rate for the audio data.<DD><DL></DL></DD></DL><HR><A NAME="setSampleRate(float)"><!-- --></A><H3>setSampleRate</H3><PRE>public final void <B>setSampleRate</B>(float sampleRate)</PRE><DL><DD>The sample rate for the audio data.<DD><DL></DL></DD></DL><HR><A NAME="getSampleCount()"><!-- --></A><H3>getSampleCount</H3><PRE>public final int <B>getSampleCount</B>()</PRE><DL><DD>The number of samples in the buffer pointed to by the buffer field. For compressed sounds, this field indicates the number of compressed samples in the sound, not the size of the buffer.<DD><DL></DL></DD></DL><HR><A NAME="setSampleCount(int)"><!-- --></A><H3>setSampleCount</H3><PRE>public final void <B>setSampleCount</B>(int sampleCount)</PRE><DL><DD>The number of samples in the buffer pointed to by the buffer field. For compressed sounds, this field indicates the number of compressed samples in the sound, not the size of the buffer.<DD><DL></DL></DD></DL><HR><A NAME="getBuffer()"><!-- --></A><H3>getBuffer</H3><PRE>public final <A HREF="../../quicktime/util/QTPointer.html">QTPointer</A> <B>getBuffer</B>()</PRE><DL><DD>The buffer that contains the sound data.<DD><DL></DL></DD></DL><HR><A NAME="setBuffer(quicktime.util.QTPointer)"><!-- --></A><H3>setBuffer</H3><PRE>public final void <B>setBuffer</B>(<A HREF="../../quicktime/util/QTPointer.html">QTPointer</A> buffer) throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>The buffer that contains the sound data. If the size of the incoming buffer is less than (getSampleSize() / 8 * getSampleCount()) a paramErr exception is thrown as the buffer is not large enough to hold the specified samples. This also means that the sample size and sample count fields must be set before the buffer is set.<DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Returns a String representation of this object.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../quicktime/util/QTByteObject.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../quicktime/util/QTByteObject.html">QTByteObject</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a String</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/SoundComponentData.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/Sound.html"><B>PREV CLASS</B></A> <A HREF="../../quicktime/sound/SPB.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="SoundComponentData.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 + -