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

📄 adpcmhelper.html

📁 java和flash接口编程
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="audioIn"><!-- --></A><H3>
audioIn</H3>
<PRE>
protected javax.sound.sampled.AudioInputStream <B>audioIn</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="isStereo"><!-- --></A><H3>
isStereo</H3>
<PRE>
protected boolean <B>isStereo</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="is16Bit"><!-- --></A><H3>
is16Bit</H3>
<PRE>
protected boolean <B>is16Bit</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="sampleRate"><!-- --></A><H3>
sampleRate</H3>
<PRE>
protected int <B>sampleRate</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="rate"><!-- --></A><H3>
rate</H3>
<PRE>
protected int <B>rate</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="samplesPerFrame"><!-- --></A><H3>
samplesPerFrame</H3>
<PRE>
protected int <B>samplesPerFrame</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="isSigned"><!-- --></A><H3>
isSigned</H3>
<PRE>
protected boolean <B>isSigned</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="sampleCount"><!-- --></A><H3>
sampleCount</H3>
<PRE>
protected int <B>sampleCount</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="leftEncoder"><!-- --></A><H3>
leftEncoder</H3>
<PRE>
protected <A HREF="../../../../com/anotherbigidea/flash/sound/ADPCMEncodeStream.html" title="class in com.anotherbigidea.flash.sound">ADPCMEncodeStream</A> <B>leftEncoder</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="rightEncoder"><!-- --></A><H3>
rightEncoder</H3>
<PRE>
protected <A HREF="../../../../com/anotherbigidea/flash/sound/ADPCMEncodeStream.html" title="class in com.anotherbigidea.flash.sound">ADPCMEncodeStream</A> <B>rightEncoder</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="currentPacket"><!-- --></A><H3>
currentPacket</H3>
<PRE>
protected <A HREF="../../../../com/anotherbigidea/flash/sound/ADPCMHelper.ADPCMPacket.html" title="class in com.anotherbigidea.flash.sound">ADPCMHelper.ADPCMPacket</A> <B>currentPacket</B></PRE>
<DL>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="ADPCMHelper(java.io.InputStream, int)"><!-- --></A><H3>
ADPCMHelper</H3>
<PRE>
public <B>ADPCMHelper</B>(java.io.InputStream&nbsp;audioFile,
                   int&nbsp;framesPerSecond)
            throws java.io.IOException,
                   javax.sound.sampled.UnsupportedAudioFileException</PRE>
<DL>
<DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE>
<DD><CODE>javax.sound.sampled.UnsupportedAudioFileException</CODE></DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getSoundDefinition()"><!-- --></A><H3>
getSoundDefinition</H3>
<PRE>
public <A HREF="../../../../com/anotherbigidea/flash/sound/SoundDefinition.html" title="class in com.anotherbigidea.flash.sound">SoundDefinition</A> <B>getSoundDefinition</B>()
                                   throws java.io.IOException</PRE>
<DL>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="readPacket(int)"><!-- --></A><H3>
readPacket</H3>
<PRE>
public <A HREF="../../../../com/anotherbigidea/flash/sound/ADPCMHelper.ADPCMPacket.html" title="class in com.anotherbigidea.flash.sound">ADPCMHelper.ADPCMPacket</A> <B>readPacket</B>(int&nbsp;packetSize)
                                   throws java.io.IOException</PRE>
<DL>
<DD><DL>

<DT><B>Returns:</B><DD>null if no more packets are available
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getBlockData(boolean)"><!-- --></A><H3>
getBlockData</H3>
<PRE>
public byte[] <B>getBlockData</B>(boolean&nbsp;firstBlock)
                    throws java.io.IOException</PRE>
<DL>
<DD>Streaming block
<P>
<DD><DL>

<DT><B>Returns:</B><DD>null if no more blocks
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="writePacket(com.anotherbigidea.flash.sound.ADPCMHelper.ADPCMPacket, com.anotherbigidea.io.OutStream, boolean)"><!-- --></A><H3>
writePacket</H3>
<PRE>
public void <B>writePacket</B>(<A HREF="../../../../com/anotherbigidea/flash/sound/ADPCMHelper.ADPCMPacket.html" title="class in com.anotherbigidea.flash.sound">ADPCMHelper.ADPCMPacket</A>&nbsp;packet,
                        <A HREF="../../../../com/anotherbigidea/io/OutStream.html" title="class in com.anotherbigidea.io">OutStream</A>&nbsp;out,
                        boolean&nbsp;includeBitCount)
                 throws java.io.IOException</PRE>
<DL>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="getStreamHeader()"><!-- --></A><H3>
getStreamHeader</H3>
<PRE>
public <A HREF="../../../../com/anotherbigidea/flash/sound/SoundStreamHead.html" title="class in com.anotherbigidea.flash.sound">SoundStreamHead</A> <B>getStreamHeader</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="main(java.lang.String[])"><!-- --></A><H3>
main</H3>
<PRE>
public static void <B>main</B>(java.lang.String[]&nbsp;args)
                 throws java.lang.Exception</PRE>
<DL>
<DD>Makes a streaming SWF from a Java Sound compatible audio file. args[0] = audio in filename args[1] = SWF out filename
<P>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.lang.Exception</CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ADPCMHelper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/anotherbigidea/flash/sound/ADPCMEncodeStream.html" title="class in com.anotherbigidea.flash.sound"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/anotherbigidea/flash/sound/ADPCMHelper.ADPCMPacket.html" title="class in com.anotherbigidea.flash.sound"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/anotherbigidea/flash/sound/ADPCMHelper.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ADPCMHelper.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
<i>Copyright &#169; 2000-2005 David N Main. All Rights Reserved.</i>
</BODY>
</HTML>

⌨️ 快捷键说明

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