Changeset 2854 in orxonox.OLD for orxonox/branches/sound/src/sound_control.h
- Timestamp:
- Nov 14, 2004, 4:44:31 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/sound/src/sound_control.h
r2838 r2854 2 2 #define SOUNDCONTROL_CLASS_H 3 3 4 #include "data_tank.h" 4 #include "SDL/SDL.h" 5 #include "SDL/SDL_mixer.h" 6 #include <stdio.h> 5 7 6 8 class SoundControl { … … 9 11 static SoundControl* getInstance(); 10 12 static void deleteInstance(); 11 void setNumberOfChannels(int number_of 13 void setNumberOfChannels(int number_of_channels); 12 14 int playMod(char* filename); 13 15 int playWav(char* filename); … … 21 23 void resumeMusic(); 22 24 void trackSelect(); 25 static void musicDone(); 23 26 24 27 protected: … … 29 32 private: 30 33 static SoundControl* instance; 31 32 } 34 }; 33 35 34 36 #endif
Note: See TracChangeset
for help on using the changeset viewer.