Go to the documentation of this file.
19 #ifndef GNASH_SWF_SOUNDSTREAMHEAD_TAG_H
20 #define GNASH_SWF_SOUNDSTREAMHEAD_TAG_H
28 class movie_definition;
unsigned read_uint(unsigned short bitcount)
Reads a bit-packed unsigned integer from the stream and returns it. The given bitcount determines the...
Definition: SWFStream.cpp:102
void log_swferror(StringType msg, Args... args)
Definition: log.h:325
TagType
SWF tag types. Symbolic names copied from Ming.
Definition: SWF.h:31
size_t arraySize(T(&)[N])
Get the size of an array without passing a pointer by mistake.
Definition: GnashAlgorithm.h:58
#define LOG_ONCE(x)
Definition: log.h:49
#define _(String)
Definition: log.h:44
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
@ m
Definition: GnashKey.h:159
virtual int createStreamingSound(const media::SoundInfo &sinfo)
Streaming sound functions:
Definition: sound_handler.cpp:442
#define UNUSED(x)
Definition: utility.h:113
Client program's interface to the definition of a movie or sprite.
Definition: movie_definition.h:96
std::int16_t read_s16()
Read a aligned signed 16-bit value from the stream.
Definition: SWFStream.cpp:355
#define IF_VERBOSE_MALFORMED_SWF(x)
Definition: log.h:404
@ r
Definition: GnashKey.h:164
unsigned long tell()
Return our current (byte) position in the input stream.
Definition: SWFStream.cpp:447
@ SOUNDSTREAMHEAD2
Definition: SWF.h:75
@ SOUNDSTREAMHEAD
Definition: SWF.h:50
An SWF parsing exception.
Definition: GnashException.h:90
Class to group together per-run and external resources for Gnash.
Definition: RunResources.h:54
unsigned long get_tag_end_position()
Return the file position of the end of the current tag.
Definition: SWFStream.cpp:497
#define IF_VERBOSE_PARSE(x)
Definition: log.h:378
void log_parse(StringType msg, Args... args)
Definition: log.h:313
Sound mixer.
Definition: sound_handler.h:88
std::uint16_t read_u16()
Read a aligned unsigned 16-bit value from the stream.
Definition: SWFStream.cpp:332
bool read_bit()
Reads a single bit off the stream and returns it.
Definition: SWFStream.cpp:88
static void loader(SWFStream &in, TagType tag, movie_definition &m, const RunResources &r)
Definition: SoundStreamHeadTag.cpp:38
SWF stream wrapper class.
Definition: SWFStream.h:59
void ensureBytes(unsigned long needed)
Ensure the requested number of bytes are available for an aligned read in the currently opened tag.
Definition: SWFStream.cpp:50
@ SWF
Definition: GnashKey.h:331
void log_unimpl(StringType msg, Args... args)
Definition: log.h:289
Definition: SoundStreamHeadTag.h:36