Gnash  0.8.11dev
Public Member Functions | Public Attributes | List of all members
gnash::SWF::SoundInfoRecord Struct Reference

#include <SoundInfoRecord.h>

Public Member Functions

 SoundInfoRecord ()
 Construct a SoundInfoRecord record object. More...
 
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. More...
 
bool stopPlayback
 If true this tag actually stops the sound rather then playing it. More...
 
unsigned int inPoint
 In point, 44100 for one second. More...
 
unsigned int outPoint
 Out point, 44100 for one second. More...
 
sound::SoundEnvelopes envelopes
 Sound effects (envelopes) for this start of the sound. More...
 

Constructor & Destructor Documentation

§ SoundInfoRecord()

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

Construct a SoundInfoRecord record object.

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

Member Function Documentation

§ read()

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

Member Data Documentation

§ envelopes

sound::SoundEnvelopes gnash::SWF::SoundInfoRecord::envelopes

§ hasEnvelope

bool gnash::SWF::SoundInfoRecord::hasEnvelope

Referenced by read().

§ hasInPoint

bool gnash::SWF::SoundInfoRecord::hasInPoint

Referenced by read().

§ hasLoops

bool gnash::SWF::SoundInfoRecord::hasLoops

Referenced by read().

§ hasOutPoint

bool gnash::SWF::SoundInfoRecord::hasOutPoint

Referenced by read().

§ inPoint

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

§ loopCount

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().

§ noMultiple

bool gnash::SWF::SoundInfoRecord::noMultiple

§ outPoint

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().

§ stopPlayback

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: