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