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

Sound.h

Go to the documentation of this file.
00001 
00007 #ifndef _SOUND_H_
00008 #define _SOUND_H_
00009 
00010 #include "SoundMedia.h"
00011 
00012 class Sound : public SoundMedia {
00013         public:
00014                 Sound();
00015                 virtual ~Sound();
00016 
00017                 bool load(const char *filename);
00018                 bool unload();
00019                 void play(int volume = 255);
00020                 void stop();
00021 
00022         protected:
00023                 FSOUND_SAMPLE *sample;
00024 };
00025 
00026 #endif

Generated on Sun Jun 5 15:47:05 2005 for Defacto by  doxygen 1.4.3