C# Class SwfDotNet.IO.Tags.SoundStreamBlockTag

SoundStreamBlock tag contains the sound data being streamed to the Flash Player.

Streaming sounds are played in tight synchronisation with one SoundStreamBlockTag object defining the sound for each frame displayed in a movie.

When a streaming sound is played if the Flash Player cannot render the frames fast enough to maintain synchronisation with the sound being played then frames will be skipped. Normally the player will reduce the frame rate so every frame of a movie is played.

This tag was introduced in Flash 1 with support for Uncompressed PCM encoded sounds (both Little-Endian and Big-Endian formats) and the compressed ADPCM format. Support for MP3 was added in Flash 3. The Nellymoser Asao format was added in Flash 6.

Inheritance: BaseTag
Show file Open project: bladecoding/SwfExport Class Usage Examples

Public Methods

Method Description
ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

see base class

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

SoundStreamBlockTag ( ) : System

Creates a new SoundStreamBlockTag instance.

SoundStreamBlockTag ( byte soundData ) : System

Creates a new SoundStreamBlockTag instance.

UpdateData ( byte version ) : void

see base class

Method Details

ReadData() public method

see base class
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader
return void

Serialize() public method

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
return void

SoundStreamBlockTag() public method

Creates a new SoundStreamBlockTag instance.
public SoundStreamBlockTag ( ) : System
return System

SoundStreamBlockTag() public method

Creates a new SoundStreamBlockTag instance.
public SoundStreamBlockTag ( byte soundData ) : System
soundData byte Sound data. /// This is the encoded sound data for a single frame in a movie. /// The format for the sound is defined by an SoundStreamHeadTag object. /// Sounds may be encoded using the uncompressed PCM (big or /// little endian byte order), compressed ADPCM, /// compressed MP3 or NELLYMOSER
return System

UpdateData() public method

see base class
public UpdateData ( byte version ) : void
version byte
return void