ScummVM API documentation
LastExpress::SimpleSound Class Referenceabstract
Inheritance diagram for LastExpress::SimpleSound:
LastExpress::AppendableSound LastExpress::StreamedSound

Public Member Functions

void stop () const
 
virtual bool isFinished ()=0
 
uint32 getTimeMS ()
 

Protected Member Functions

void loadHeader (Common::SeekableReadStream *in)
 
LastExpress_ADPCMStream * makeDecoder (Common::SeekableReadStream *in, uint32 size, uint32 volume, bool looped) const
 
void play (Audio::AudioStream *as, DisposeAfterUse::Flag autofreeStream)
 

Protected Attributes

uint32 _size
 
uint16 _blocks
 number of blocks
 
uint32 _blockSize
 
Audio::SoundHandle _handle
 

Member Data Documentation

◆ _size

uint32 LastExpress::SimpleSound::_size
protected

data size

  • NIS: size of all blocks, including those located in the matching LNK file
  • LNK: size of the LNK file itself, including the header
  • SND: size of all blocks

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