FreeHEP API
Version current

org.freehep.graphicsio.swf
Class DefineSound

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

public class DefineSound
extends DefinitionTag

DefineSound TAG.

Version:
$Id: DefineSound.java,v 1.3 2003/04/15 18:03:05 duns Exp $
Author:
Mark Donszelmann, Charles Loomis
Source Code:
DefineSound.java

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)
           
 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 IOException
Specified by:
read in class SWFTag
Throws:
IOException

write

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

toString

public String toString()
Overrides:
toString in class DefinitionTag

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.