Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

SoundMedia Class Reference

#include <SoundMedia.h>

Inherited by Music, and Sound.

Inheritance diagram for SoundMedia:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 SoundMedia ()
virtual ~SoundMedia ()
bool initialize ()
bool deInitialize ()
virtual bool load (const char *filename)
virtual bool unload ()
virtual void play ()
virtual void stop ()

Detailed Description

SoundMedia.h

Author: Petter Alstermark, petter@alstermark.com

Definition at line 16 of file SoundMedia.h.


Constructor & Destructor Documentation

SoundMedia::SoundMedia  ) 
 

SoundMedia.cpp

Author: Petter Alstermark, petter@alstermark.com

Definition at line 9 of file SoundMedia.cpp.

SoundMedia::~SoundMedia  )  [virtual]
 

Definition at line 12 of file SoundMedia.cpp.


Member Function Documentation

bool SoundMedia::deInitialize  ) 
 

Definition at line 30 of file SoundMedia.cpp.

References FSOUND_Close(), and LOG_SUCCESS.

Referenced by MainApp::deInitialize().

Here is the call graph for this function:

bool SoundMedia::initialize  ) 
 

Definition at line 15 of file SoundMedia.cpp.

References FMOD_ErrorString(), FMOD_VERSION, FSOUND_GetError(), FSOUND_GetVersion(), FSOUND_Init(), LOG_ERROR, and LOG_SUCCESS.

Referenced by MainApp::initialize().

Here is the call graph for this function:

virtual bool SoundMedia::load const char filename  )  [inline, virtual]
 

Reimplemented in Music, and Sound.

Definition at line 24 of file SoundMedia.h.

virtual void SoundMedia::play  )  [inline, virtual]
 

Definition at line 26 of file SoundMedia.h.

virtual void SoundMedia::stop  )  [inline, virtual]
 

Reimplemented in Music, and Sound.

Definition at line 27 of file SoundMedia.h.

virtual bool SoundMedia::unload  )  [inline, virtual]
 

Reimplemented in Music, and Sound.

Definition at line 25 of file SoundMedia.h.


Generated on Sun Jun 5 15:51:04 2005 for Defacto by  doxygen 1.4.3