ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <mp3track.h>

Inheritance diagram for Grim::MP3Track:
Collaboration diagram for Grim::MP3Track:

List of all members.


struct  JMMCuePoints

Public Member Functions

 MP3Track (Audio::Mixer::SoundType soundType)
 ~MP3Track ()
bool openSound (const Common::String &filename, const Common::String &soundName, const Audio::Timestamp *start=nullptr) override
bool hasLooped () override
bool isPlaying () override
Audio::Timestamp getPos () override

Private Member Functions

void parseRIFFHeader (Common::SeekableReadStream *data)
JMMCuePoints parseJMMFile (const Common::String &filename)

Private Attributes

uint32 _headerSize
uint32 _regionLength
uint32 _freq
char _bits
char _channels
bool _endFlag
bool _looping

Detailed Description

Definition at line 38 of file mp3track.h.

Constructor & Destructor Documentation

Grim::MP3Track::MP3Track ( Audio::Mixer::SoundType  soundType  ) 

Definition at line 142 of file mp3track.cpp.

Grim::MP3Track::~MP3Track (  ) 

Definition at line 153 of file mp3track.cpp.

Member Function Documentation

Audio::Timestamp Grim::MP3Track::getPos (  )  [override, virtual]

Implements Grim::SoundTrack.

Definition at line 211 of file mp3track.cpp.

bool Grim::MP3Track::hasLooped (  )  [override, virtual]

Reimplemented from Grim::SoundTrack.

Definition at line 197 of file mp3track.cpp.

bool Grim::MP3Track::isPlaying (  )  [override, virtual]

Implements Grim::SoundTrack.

Definition at line 204 of file mp3track.cpp.

bool Grim::MP3Track::openSound ( const Common::String filename,
const Common::String soundName,
const Audio::Timestamp start = nullptr 
) [override, virtual]

Implements Grim::SoundTrack.

Definition at line 161 of file mp3track.cpp.

MP3Track::JMMCuePoints Grim::MP3Track::parseJMMFile ( const Common::String filename  )  [private]

Definition at line 121 of file mp3track.cpp.

void Grim::MP3Track::parseRIFFHeader ( Common::SeekableReadStream data  )  [private]

Definition at line 103 of file mp3track.cpp.

Member Data Documentation

char Grim::MP3Track::_bits [private]

Definition at line 47 of file mp3track.h.

char Grim::MP3Track::_channels [private]

Definition at line 48 of file mp3track.h.

bool Grim::MP3Track::_endFlag [private]

Definition at line 49 of file mp3track.h.

Definition at line 46 of file mp3track.h.

Definition at line 44 of file mp3track.h.

bool Grim::MP3Track::_looping [private]

Definition at line 50 of file mp3track.h.

Definition at line 45 of file mp3track.h.

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

Generated on Sat Sep 12 2020 05:04:37 for ResidualVM by doxygen 1.7.1
curved edge   curved edge