Gnash  0.8.11dev
Public Member Functions | Public Attributes
gnash::SWF::SoundInfoRecord Struct Reference

#include <SoundInfoRecord.h>

List of all members.

Public Member Functions

 SoundInfoRecord ()
 Construct a SoundInfoRecord record object.
void read (SWFStream &in)

Public Attributes

bool noMultiple
bool hasEnvelope
bool hasLoops
bool hasOutPoint
bool hasInPoint
int loopCount
 Number of loops started by an execution of this tag.
bool stopPlayback
 If true this tag actually stops the sound rather then playing it.
unsigned int inPoint
 In point, 44100 for one second.
unsigned int outPoint
 Out point, 44100 for one second.
sound::SoundEnvelopes envelopes
 Sound effects (envelopes) for this start of the sound.

Constructor & Destructor Documentation

gnash::SWF::SoundInfoRecord::SoundInfoRecord ( )
inline

Construct a SoundInfoRecord record object.

This SoundInfoRecord is not valid until read() has been called.


Member Function Documentation

void gnash::SWF::SoundInfoRecord::read ( SWFStream in)

Member Data Documentation

sound::SoundEnvelopes gnash::SWF::SoundInfoRecord::envelopes
bool gnash::SWF::SoundInfoRecord::hasEnvelope

Referenced by read().

bool gnash::SWF::SoundInfoRecord::hasInPoint

Referenced by read().

bool gnash::SWF::SoundInfoRecord::hasLoops

Referenced by read().

bool gnash::SWF::SoundInfoRecord::hasOutPoint

Referenced by read().

unsigned int gnash::SWF::SoundInfoRecord::inPoint
int gnash::SWF::SoundInfoRecord::loopCount

Number of loops started by an execution of this tag.

This number is 0 if the sound must be played only once, 1 to play twice and so on...

It is not known whether a value exists to specify "loop forever"

Referenced by gnash::SWF::StartSoundTag::executeActions(), gnash::Button::mouseEvent(), and read().

bool gnash::SWF::SoundInfoRecord::noMultiple
unsigned int gnash::SWF::SoundInfoRecord::outPoint

Out point, 44100 for one second.

See http://sswf.sourceforge.net/SWFalexref.html#swf_soundinfo         

NOTE: std::numeric_limits<unsigned int>::max() means none

Referenced by gnash::SWF::StartSoundTag::executeActions(), gnash::Button::mouseEvent(), and read().

bool gnash::SWF::SoundInfoRecord::stopPlayback

If true this tag actually stops the sound rather then playing it.

In a well-formed SWF when this flag is on all others should be off (no loops, no envelopes, no in/out points).

Referenced by gnash::SWF::StartSoundTag::executeActions(), gnash::Button::mouseEvent(), and read().


The documentation for this struct was generated from the following files: