Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

SoundCache Class Reference

Caches sounds. More...

#include <sndcache.h>

List of all members.

Public Member Functions

Mix_Chunk * loadWAV (string soundfile)


Detailed Description

Caches sounds.

Caches wav files (Mix_Chunks) according to their name (using a map container) and deletes them at the end.


Member Function Documentation

Mix_Chunk* SoundCache::loadWAV string  soundfile  ) 
 

Loads a wav file if it isn't already contained in the pool according to it's file name.

Returns:
Pointer to the sound cache entry if the file was found and could be loaded, NULL otherwise


The documentation for this class was generated from the following file:
Generated on Sun Feb 5 13:02:38 2006 for Lost Penguins by doxygen 1.3.8