Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.anotherbigidea.flash.sound
Class RawHelper  view RawHelper download RawHelper.java

java.lang.Object
  extended bycom.anotherbigidea.flash.sound.RawHelper

public class RawHelper
extends java.lang.Object

Raw Audio Utilities


Constructor Summary
RawHelper()
           
 
Method Summary
static com.anotherbigidea.flash.movie.Sound getSoundDefinition(java.io.InputStream audioFile, int framesPerSecond)
           
static void main(java.lang.String[] args)
          Makes a streaming SWF from a Java Sound compatible audio file.
static SoundStreamHead streamingBlocks(java.io.InputStream audioFile, int framesPerSecond, java.util.ArrayList soundBlocks)
          Read an audio input file that is supported by the Java Sound API
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawHelper

public RawHelper()
Method Detail

streamingBlocks

public static SoundStreamHead streamingBlocks(java.io.InputStream audioFile,
                                              int framesPerSecond,
                                              java.util.ArrayList soundBlocks)
                                       throws java.io.IOException,
                                              javax.sound.sampled.UnsupportedAudioFileException
Read an audio input file that is supported by the Java Sound API


getSoundDefinition

public static com.anotherbigidea.flash.movie.Sound getSoundDefinition(java.io.InputStream audioFile,
                                                                      int framesPerSecond)
                                                               throws java.io.IOException,
                                                                      javax.sound.sampled.UnsupportedAudioFileException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Makes a streaming SWF from a Java Sound compatible audio file. args[0] = audio in filename args[1] = SWF out filename