📄 audioformat.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#SIGNED">SIGNED</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#TRUESPEECH">TRUESPEECH</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#ULAW">ULAW</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#ULAW_RTP">ULAW_RTP</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#UNSIGNED">UNSIGNED</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#VOXWAREAC10">VOXWAREAC10</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#VOXWAREAC16">VOXWAREAC16</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#VOXWAREAC20">VOXWAREAC20</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#VOXWAREAC8">VOXWAREAC8</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#VOXWAREMETASOUND">VOXWAREMETASOUND</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#VOXWAREMETAVOICE">VOXWAREMETAVOICE</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#VOXWARERT29H">VOXWARERT29H</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#VOXWARETQ40">VOXWARETQ40</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#VOXWARETQ60">VOXWARETQ60</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#VOXWAREVR12">VOXWAREVR12</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#VOXWAREVR18">VOXWAREVR18</A></B></CODE><BR> </TD></TR></TABLE> <A NAME="fields_inherited_from_class_javax.media.Format"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class javax.media.<A HREF="../../../javax/media/Format.html">Format</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/Format.html#byteArray">byteArray</A>, <A HREF="../../../javax/media/Format.html#clz">clz</A>, <A HREF="../../../javax/media/Format.html#dataType">dataType</A>, <A HREF="../../../javax/media/Format.html#encoding">encoding</A>, <A HREF="../../../javax/media/Format.html#FALSE">FALSE</A>, <A HREF="../../../javax/media/Format.html#formatArray">formatArray</A>, <A HREF="../../../javax/media/Format.html#intArray">intArray</A>, <A HREF="../../../javax/media/Format.html#NOT_SPECIFIED">NOT_SPECIFIED</A>, <A HREF="../../../javax/media/Format.html#shortArray">shortArray</A>, <A HREF="../../../javax/media/Format.html#TRUE">TRUE</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#AudioFormat(java.lang.String)">AudioFormat</A></B>(java.lang.String encoding)</CODE><BR> Constructs an <CODE>AudioFormat</CODE> with the specified encoding type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#AudioFormat(java.lang.String, double, int, int)">AudioFormat</A></B>(java.lang.String encoding, double sampleRate, int sampleSizeInBits, int channels)</CODE><BR> Constructs an <CODE>AudioFormat</CODE> with the specified attributes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#AudioFormat(java.lang.String, double, int, int, int, int)">AudioFormat</A></B>(java.lang.String encoding, double sampleRate, int sampleSizeInBits, int channels, int endian, int signed)</CODE><BR> Constructs an <CODE>AudioFormat</CODE> with the specified attributes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#AudioFormat(java.lang.String, double, int, int, int, int, int, double, java.lang.Class)">AudioFormat</A></B>(java.lang.String encoding, double sampleRate, int sampleSizeInBits, int channels, int endian, int signed, int frameSizeInBits, double frameRate, java.lang.Class dataType)</CODE><BR> Constructs an <CODE>AudioFormat</CODE> with the specified attributes.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#clone()">clone</A></B>()</CODE><BR> Creates a clone of this <code>AudioFormat</code> by copying each field to the clone.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#computeDuration(long)">computeDuration</A></B>(long length)</CODE><BR> Returns the duration of the media based on the given length of the data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#copy(javax.media.Format)">copy</A></B>(<A HREF="../../../javax/media/Format.html">Format</A> f)</CODE><BR> Copies the attributes from the specified <CODE>Format</CODE> into this <CODE>AudioFormat</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object format)</CODE><BR> Compares the specified <CODE>Format</CODE> with this <code>AudioFormat</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#getChannels()">getChannels</A></B>()</CODE><BR> Gets the number of channels.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#getEndian()">getEndian</A></B>()</CODE><BR> Gets an integer that indicates whether the sample byte order is big endian or little endian.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#getFrameRate()">getFrameRate</A></B>()</CODE><BR> Gets the frame rate of this <code>AudioFormat</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#getFrameSizeInBits()">getFrameSizeInBits</A></B>()</CODE><BR> Gets the frame size of this <code>AudioFormat</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#getSampleRate()">getSampleRate</A></B>()</CODE><BR> Gets the audio sample rate.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#getSampleSizeInBits()">getSampleSizeInBits</A></B>()</CODE><BR> Gets the size of a sample.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#getSigned()">getSigned</A></B>()</CODE><BR> Gets a boolean that indicates whether the samples are stored in signed format or an unsigned format.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/media/Format.html">Format</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#intersects(javax.media.Format)">intersects</A></B>(<A HREF="../../../javax/media/Format.html">Format</A> format)</CODE><BR> Finds the attributes shared by two matching <CODE>Format</CODE> objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#matches(javax.media.Format)">matches</A></B>(<A HREF="../../../javax/media/Format.html">Format</A> format)</CODE><BR> Checks whether or not the specified <CODE>Format</CODE> <EM>matches</EM> this <CODE>AudioFormat</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/format/AudioFormat.html#toString()">toString</A></B>()</CODE><BR> Gets a <CODE>String</CODE> representation of the attributes of this <code>AudioFormat</code>.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.media.Format"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.media.<A HREF="../../../javax/media/Format.html">Format</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/Format.html#getDataType()">getDataType</A>, <A HREF="../../../javax/media/Format.html#getEncoding()">getEncoding</A>, <A HREF="../../../javax/media/Format.html#relax()">relax</A></CODE></TD></TR></TABLE> <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>finalize, 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="BIG_ENDIAN"><!-- --></A><H3>BIG_ENDIAN</H3><PRE>public static final int <B>BIG_ENDIAN</B></PRE><DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -