?? adpcmhelper.html
字號:
</TR>
</TABLE>
<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 audioFile,
int 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 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 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> packet,
<A HREF="../../../../com/anotherbigidea/io/OutStream.html" title="class in com.anotherbigidea.io">OutStream</A> out,
boolean 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[] 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> </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/ADPCMHelper.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="../../../../com/anotherbigidea/flash/sound/ADPCMEncodeStream.html" title="class in com.anotherbigidea.flash.sound"><B>PREV CLASS</B></A>
<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>
<A HREF="ADPCMHelper.html" target="_top"><B>NO FRAMES</B></A>
<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: <A HREF="#nested_class_summary">NESTED</A> | <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>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<i>Copyright © 2000-2005 David N Main. All Rights Reserved.</i>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -