Debian Codegraph @

Oodle/src/CSoundSystem.h

raw ◀ ▶
1 Debian patch touch this file
1 #ifndef _CSOUNDSYSTEM_
2 #define _CSOUNDSYSTEM_
3
4 #include "CSound.h"
5 #include "SDL_mixer.h"
6
7 class CSoundSystem
8 {
9 public:
10 CSoundSystem(int chunksize = 2048, int frequency = MIX_DEFAULT_FREQUENCY, int channels = 2, Uint16 format = AUDIO_S16);
11 ~CSoundSystem();
12
13 void playSound(CSound &snd) const;
14 void stopSound(const CSound &snd) const;
15 private:
•16 bool soundAvailable;
17 };
18
19 #endif