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

Quick Search    Search Deep

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

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

public class MP3Helper
extends java.lang.Object

MP3 Utilities


Constructor Summary
MP3Helper()
           
 
Method Summary
static com.anotherbigidea.flash.movie.Sound getSoundDefinition(java.io.InputStream mp3)
           
static void main(java.lang.String[] args)
          Makes a streaming SWF from an MP3.
static SoundStreamHead streamingBlocks(java.io.InputStream mp3, int framesPerSecond, java.util.ArrayList blocks)
          Read an MP3 input file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MP3Helper

public MP3Helper()
Method Detail

getSoundDefinition

public static com.anotherbigidea.flash.movie.Sound getSoundDefinition(java.io.InputStream mp3)
                                                               throws java.io.IOException

streamingBlocks

public static SoundStreamHead streamingBlocks(java.io.InputStream mp3,
                                              int framesPerSecond,
                                              java.util.ArrayList blocks)
                                       throws java.io.IOException
Read an MP3 input file. Write the Sound Stream Header to the SWFTagTypes interface. Return a list of byte[] - one for each Streaming Sound Block


main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Makes a streaming SWF from an MP3. args[0] = MP3 in filename args[1] = SWF out filename