Gnash
0.8.10
|
#include <SoundInfoRecord.h>
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. |
gnash::SWF::SoundInfoRecord::SoundInfoRecord | ( | ) | [inline] |
Construct a SoundInfoRecord record object.
This SoundInfoRecord is not valid until read() has been called.
void gnash::SWF::SoundInfoRecord::read | ( | SWFStream & | in | ) |
Sound effects (envelopes) for this start of the sound.
See http://sswf.sourceforge.net/SWFalexref.html#swf_envelope
Referenced by gnash::Button::mouseEvent(), read(), and gnash::SWF::StartSoundTag::executeActions().
Referenced by read().
Referenced by read().
Referenced by read().
Referenced by read().
unsigned int gnash::SWF::SoundInfoRecord::inPoint |
In point, 44100 for one second.
See http://sswf.sourceforge.net/SWFalexref.html#swf_soundinfo
Referenced by gnash::Button::mouseEvent(), read(), and gnash::SWF::StartSoundTag::executeActions().
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 read(), and gnash::SWF::StartSoundTag::executeActions().
Referenced by gnash::Button::mouseEvent(), read(), and gnash::SWF::StartSoundTag::executeActions().
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::Button::mouseEvent(), read(), and gnash::SWF::StartSoundTag::executeActions().
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 read(), and gnash::SWF::StartSoundTag::executeActions().