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

Quick Search    Search Deep

com.anotherbigidea.flash.movie
Class Sound  view Sound download Sound.java

java.lang.Object
  extended bycom.anotherbigidea.flash.movie.Symbol
      extended bycom.anotherbigidea.flash.movie.Sound

public class Sound
extends Symbol

A Sound Symbol


Field Summary
 int format
           
 int frequency
           
 boolean is16bit
           
 boolean isStereo
           
 int sampleCount
           
 byte[] soundData
           
 
Fields inherited from class com.anotherbigidea.flash.movie.Symbol
id
 
Constructor Summary
Sound(int format, int frequency, boolean is16bit, boolean isStereo, int sampleCount, byte[] soundData)
           
 
Method Summary
protected  int defineSymbol(Movie movie, com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter, com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
          Override to provide symbol definition
 int getFrequency()
           
 int getSampleCount()
           
 
Methods inherited from class com.anotherbigidea.flash.movie.Symbol
define, getId, getNextId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

format

public int format

frequency

public int frequency

is16bit

public boolean is16bit

isStereo

public boolean isStereo

sampleCount

public int sampleCount

soundData

public byte[] soundData
Constructor Detail

Sound

public Sound(int format,
             int frequency,
             boolean is16bit,
             boolean isStereo,
             int sampleCount,
             byte[] soundData)
Method Detail

defineSymbol

protected int defineSymbol(Movie movie,
                           com.anotherbigidea.flash.interfaces.SWFTagTypes timelineWriter,
                           com.anotherbigidea.flash.interfaces.SWFTagTypes definitionWriter)
                    throws java.io.IOException
Description copied from class: Symbol
Override to provide symbol definition

Specified by:
defineSymbol in class Symbol

getFrequency

public int getFrequency()

getSampleCount

public int getSampleCount()