ScummVM API documentation
Ultima::Ultima8::SoundFlex Class Reference
Inheritance diagram for Ultima::Ultima8::SoundFlex:
Ultima::Ultima8::Archive Ultima::Ultima8::SpeechFlex

Public Member Functions

 SoundFlex (Common::SeekableReadStream *rs)
 
AudioSample * getSample (uint32 index)
 Get an audiosample.
 
void cache (uint32 index) override
 Cache a single object. More...
 
void uncache (uint32 index) override
 
bool isCached (uint32 index) const override
 Check if an object is cached. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Ultima::Ultima8::Archive
uint8 * getRawObject (uint32 index, uint32 *sizep=0)
 
uint32 getRawSize (uint32 index) const
 
 Archive ()
 create Archive without any input sources
 
 Archive (Common::SeekableReadStream *rs)
 
bool addSource (FlexFile *af)
 
bool addSource (Common::SeekableReadStream *rs)
 add input source, autodetecting the type (as the constructor)
 
void cache ()
 Cache all objects.
 
virtual void cache (uint32 index)=0
 Cache a single object. More...
 
void uncache ()
 
virtual void uncache (uint32 index)=0
 
virtual bool isCached (uint32 index) const =0
 Check if an object is cached. More...
 
uint32 getCount () const
 
- Protected Attributes inherited from Ultima::Ultima8::Archive
uint32 _count
 

Member Function Documentation

◆ cache()

void Ultima::Ultima8::SoundFlex::cache ( uint32  index)
overridevirtual

Cache a single object.

Implements Ultima::Ultima8::Archive.

◆ uncache()

void Ultima::Ultima8::SoundFlex::uncache ( uint32  index)
overridevirtual

Uncache a single object Potentially dangerous. See uncache()

Implements Ultima::Ultima8::Archive.

◆ isCached()

bool Ultima::Ultima8::SoundFlex::isCached ( uint32  index) const
overridevirtual

Check if an object is cached.

Implements Ultima::Ultima8::Archive.


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