C# 클래스 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.

상속: BaseTag
파일 보기 프로젝트 열기: bladecoding/SwfExport 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

ReadData() 공개 메소드

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

Serialize() 공개 메소드

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

SoundStreamBlockTag() 공개 메소드

Creates a new SoundStreamBlockTag instance.
public SoundStreamBlockTag ( ) : System
리턴 System

SoundStreamBlockTag() 공개 메소드

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
리턴 System

UpdateData() 공개 메소드

see base class
public UpdateData ( byte version ) : void
version byte
리턴 void