Gnash
0.8.10
|
A sound envelope. More...
#include <SoundEnvelope.h>
Public Attributes | |
boost::uint32_t | m_mark44 |
Byte offset this envelope applies to. | |
boost::uint16_t | m_level0 |
Volume for the left channel (0..32768) | |
boost::uint16_t | m_level1 |
Volume for the right channel (0..32768) |
A sound envelope.
Used to control volume for event sounds. It basically tells that from sample X the volume for left out is Y and for right out is Z. Several envelopes can be assigned to a sound to make a fade out or similar stuff. See http://www.m2osw.com/en/swf_alexref.html#swf_envelope
boost::uint16_t gnash::sound::SoundEnvelope::m_level0 |
Volume for the left channel (0..32768)
boost::uint16_t gnash::sound::SoundEnvelope::m_level1 |
Volume for the right channel (0..32768)
boost::uint32_t gnash::sound::SoundEnvelope::m_mark44 |
Byte offset this envelope applies to.
The offset is always given as if the sample data was defined with a rate of 44100 bytes per seconds. For instance, the sample number 1 in a sound effect with a sample rate of 5.5K is given as position 8 in the envelope.