FreeHEP API
Version current

org.freehep.graphicsio.swf
Class SoundStreamHead

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.SoundStreamHead
All Implemented Interfaces:
SWFConstants
Direct Known Subclasses:
SoundStreamHead2

public class SoundStreamHead
extends DefinitionTag

SoundStreamHead TAG.

Version:
$Id: SoundStreamHead.java,v 1.4 2003/04/16 05:58:26 duns Exp $
Author:
Mark Donszelmann, Charles Loomis
Source Code:
SoundStreamHead.java

Field Summary
protected  int latencySeek
           
protected  int playbackSoundRate
           
protected  boolean playbackSoundSize16
           
protected  boolean playbackSoundStereo
           
protected  int samples
           
protected  int streamSoundCompression
           
protected  int streamSoundRate
           
protected  boolean streamSoundSize16
           
protected  boolean streamSoundStereo
           
 
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
  SoundStreamHead()
           
  SoundStreamHead(int playbackSoundRate, boolean playbackSoundStereo, int streamSoundRate, boolean streamSoundStereo, int samples)
           
protected SoundStreamHead(int tagID, int version)
           
 
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

playbackSoundRate

protected int playbackSoundRate

playbackSoundSize16

protected boolean playbackSoundSize16

playbackSoundStereo

protected boolean playbackSoundStereo

streamSoundCompression

protected int streamSoundCompression

streamSoundRate

protected int streamSoundRate

streamSoundSize16

protected boolean streamSoundSize16

streamSoundStereo

protected boolean streamSoundStereo

samples

protected int samples

latencySeek

protected int latencySeek
Constructor Detail

SoundStreamHead

public SoundStreamHead(int playbackSoundRate,
                       boolean playbackSoundStereo,
                       int streamSoundRate,
                       boolean streamSoundStereo,
                       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
Throws:
IOException

read

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

write

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

write

protected void write(SWFOutputStream swf)
              throws IOException
Throws:
IOException

toString

public String toString()
Overrides:
toString in class DefinitionTag

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.