FreeHEP API
Version v1.1

org.freehep.graphicsio.swf
Class SoundStreamHead

java.lang.Object
  |
  +--org.freehep.util.io.Tag
        |
        +--org.freehep.graphicsio.swf.SWFTag
              |
              +--org.freehep.graphicsio.swf.DefinitionTag
                    |
                    +--org.freehep.graphicsio.swf.SoundStreamHead
All Implemented Interfaces:
SWFConstants
Direct Known Subclasses:
SoundStreamHead2

public class SoundStreamHead
extends DefinitionTag

SoundStreamHead TAG.

Version:
$Id: SoundStreamHead.java,v 1.2 2002/02/28 13:07:40 duns Exp $
Author:
Mark Donszelmann, Charles Loomis

Field Summary
protected  int format
           
protected  int mixFormat
           
protected  int samples
           
protected  boolean snd16bit
           
protected  boolean 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, TWIPS
 
Constructor Summary
  SoundStreamHead()
           
protected SoundStreamHead(int tagID, int version)
           
  SoundStreamHead(int mixFormat, int format, boolean snd16bit, boolean stereo, int samples)
           
 
Method Summary
 SWFTag read(int tagID, SWFInputStream swf, int len)
           
protected  void read(SWFInputStream swf, int len)
           
 String toString()
           
 void write(int tagID, SWFOutputStream swf)
           
protected  void write(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

mixFormat

protected int mixFormat

format

protected int format

snd16bit

protected boolean snd16bit

stereo

protected boolean stereo

samples

protected int samples
Constructor Detail

SoundStreamHead

public SoundStreamHead(int mixFormat,
                       int format,
                       boolean snd16bit,
                       boolean stereo,
                       int samples)

SoundStreamHead

public SoundStreamHead()

SoundStreamHead

protected SoundStreamHead(int tagID,
                          int version)
Method Detail

read

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

read

protected void read(SWFInputStream swf,
                    int len)
             throws IOException
IOException

write

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

write

protected void write(SWFOutputStream swf)
              throws IOException
IOException

toString

public String toString()
Overrides:
toString in class DefinitionTag

FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.