org.freehep.graphicsio.swf
Class DefineSound

java.lang.Object
  extended by org.freehep.util.io.Tag
      extended by org.freehep.graphicsio.swf.SWFTag
          extended by org.freehep.graphicsio.swf.DefinitionTag
              extended by org.freehep.graphicsio.swf.DefineSound
All Implemented Interfaces:
SWFConstants

public class DefineSound
extends DefinitionTag

DefineSound TAG.

Version:
$Id: DefineSound.java 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann, Charles Loomis

Field Summary
static int ADPCM
           
static int BYTE
           
static int MONO
           
static int MP3
           
static int NELLYMOSER
           
static int NONE
           
static int RATE_11
           
static int RATE_22
           
static int RATE_44
           
static int RATE_5_5
           
static int SHORT
           
static int STEREO
           
 
Fields inherited from class org.freehep.util.io.Tag
DEFAULT_TAG
 
Fields inherited from interface org.freehep.graphicsio.swf.SWFConstants
CONTROL, DEFAULT_VERSION, DEFINITION, LANGUAGE_JAPANESE, LANGUAGE_KOREAN, LANGUAGE_LATIN, LANGUAGE_SIMPLIFIED_CHINESE, LANGUAGE_TRADITIONAL_CHINESE, TWIPS
 
Constructor Summary
DefineSound()
           
DefineSound(int id, int format, int rate, int size, boolean stereo, long samples, int[] data)
           
 
Method Summary
 SWFTag read(int tagID, SWFInputStream swf, int len)
           
 java.lang.String toString()
           
 void write(int tagID, SWFOutputStream swf)
           
 
Methods inherited from class org.freehep.graphicsio.swf.DefinitionTag
getTagType
 
Methods inherited from class org.freehep.graphicsio.swf.SWFTag
read, write
 
Methods inherited from class org.freehep.util.io.Tag
getName, getTag, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
See Also:
Constant Field Values

ADPCM

public static final int ADPCM
See Also:
Constant Field Values

MP3

public static final int MP3
See Also:
Constant Field Values

NELLYMOSER

public static final int NELLYMOSER
See Also:
Constant Field Values

RATE_5_5

public static final int RATE_5_5
See Also:
Constant Field Values

RATE_11

public static final int RATE_11
See Also:
Constant Field Values

RATE_22

public static final int RATE_22
See Also:
Constant Field Values

RATE_44

public static final int RATE_44
See Also:
Constant Field Values

BYTE

public static final int BYTE
See Also:
Constant Field Values

SHORT

public static final int SHORT
See Also:
Constant Field Values

MONO

public static final int MONO
See Also:
Constant Field Values

STEREO

public static final int STEREO
See Also:
Constant Field Values
Constructor Detail

DefineSound

public DefineSound(int id,
                   int format,
                   int rate,
                   int size,
                   boolean stereo,
                   long samples,
                   int[] data)

DefineSound

public DefineSound()
Method Detail

read

public SWFTag read(int tagID,
                   SWFInputStream swf,
                   int len)
            throws java.io.IOException
Specified by:
read in class SWFTag
Throws:
java.io.IOException

write

public void write(int tagID,
                  SWFOutputStream swf)
           throws java.io.IOException
Overrides:
write in class SWFTag
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class DefinitionTag


Copyright © 2000-2007 FreeHEP. All Rights Reserved.