📄 compressioninfo.html
字号:
</TR></TABLE><A NAME="kNativeSize"><!-- --></A><H3>kNativeSize</H3><PRE>public static final int <B>kNativeSize</B></PRE><DL><DD>This is the size of 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="CompressionInfo()"><!-- --></A><H3>CompressionInfo</H3><PRE>public <B>CompressionInfo</B>()</PRE><DL><DD>Makes an instance of this class. This will set the record size to the kNativeSize value.</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="get(int, int, int, int)"><!-- --></A><H3>get</H3><PRE>public static <A HREF="../../quicktime/sound/CompressionInfo.html">CompressionInfo</A> <B>get</B>(int compressionID, int format, int numChannels, int sampleSize) throws <A HREF="../../quicktime/sound/SoundException.html">SoundException</A></PRE><DL><DD>Gets the CompressionInfo structure given the supplied information <BR><BR><b>QuickTime::GetCompressionInfo</b><BR><BR><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>compressionID</CODE> - the id of the compression type<DD><CODE>format</CODE> - the OSType that describes the compression used<DD><CODE>numChannels</CODE> - the number of channels in the sound data<DD><CODE>sampleSize</CODE> - the size of the sample<DT><B>Returns:</B><DD>a CompressionInfo object</DL></DD></DL><HR><A NAME="getRecordSize()"><!-- --></A><H3>getRecordSize</H3><PRE>public int <B>getRecordSize</B>()</PRE><DL><DD>The recordSize.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD> </DL></DD></DL><HR><A NAME="setRecordSize(int)"><!-- --></A><H3>setRecordSize</H3><PRE>public void <B>setRecordSize</B>(int recordSize)</PRE><DL><DD>The recordSize.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>recordSize</CODE> - </DL></DD></DL><HR><A NAME="getFormat()"><!-- --></A><H3>getFormat</H3><PRE>public int <B>getFormat</B>()</PRE><DL><DD>The format.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD> </DL></DD></DL><HR><A NAME="setFormat(int)"><!-- --></A><H3>setFormat</H3><PRE>public void <B>setFormat</B>(int format)</PRE><DL><DD>The format.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>format</CODE> - </DL></DD></DL><HR><A NAME="getCompressionID()"><!-- --></A><H3>getCompressionID</H3><PRE>public int <B>getCompressionID</B>()</PRE><DL><DD>The compressionID.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD> </DL></DD></DL><HR><A NAME="setCompressionID(int)"><!-- --></A><H3>setCompressionID</H3><PRE>public void <B>setCompressionID</B>(int compressionID)</PRE><DL><DD>The compressionID.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>compressionID</CODE> - </DL></DD></DL><HR><A NAME="getSamplesPerPacket()"><!-- --></A><H3>getSamplesPerPacket</H3><PRE>public int <B>getSamplesPerPacket</B>()</PRE><DL><DD>The samplesPerPacket.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD> </DL></DD></DL><HR><A NAME="setSamplesPerPacket(int)"><!-- --></A><H3>setSamplesPerPacket</H3><PRE>public void <B>setSamplesPerPacket</B>(int samplesPerPacket)</PRE><DL><DD>The samplesPerPacket.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>samplesPerPacket</CODE> - </DL></DD></DL><HR><A NAME="getBytesPerPacket()"><!-- --></A><H3>getBytesPerPacket</H3><PRE>public int <B>getBytesPerPacket</B>()</PRE><DL><DD>The bytesPerPacket.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD> </DL></DD></DL><HR><A NAME="setBytesPerPacket(int)"><!-- --></A><H3>setBytesPerPacket</H3><PRE>public void <B>setBytesPerPacket</B>(int bytesPerPacket)</PRE><DL><DD>The bytesPerPacket.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bytesPerPacket</CODE> - </DL></DD></DL><HR><A NAME="getBytesPerFrame()"><!-- --></A><H3>getBytesPerFrame</H3><PRE>public int <B>getBytesPerFrame</B>()</PRE><DL><DD>The bytesPerFrame.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD> </DL></DD></DL><HR><A NAME="setBytesPerFrame(int)"><!-- --></A><H3>setBytesPerFrame</H3><PRE>public void <B>setBytesPerFrame</B>(int bytesPerFrame)</PRE><DL><DD>The bytesPerFrame.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bytesPerFrame</CODE> - </DL></DD></DL><HR><A NAME="getBytesPerSample()"><!-- --></A><H3>getBytesPerSample</H3><PRE>public int <B>getBytesPerSample</B>()</PRE><DL><DD>The bytesPerSample.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD> </DL></DD></DL><HR><A NAME="setBytesPerSample(int)"><!-- --></A><H3>setBytesPerSample</H3><PRE>public void <B>setBytesPerSample</B>(int bytesPerSample)</PRE><DL><DD>The bytesPerSample.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bytesPerSample</CODE> - </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/CompressionInfo.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"> PREV CLASS <A HREF="../../quicktime/sound/ExtScheduledSoundHeader.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="CompressionInfo.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 + -