GPL-2+
© 2004-2005 Jared Luxenberg; © 2004-2005 Justin Lokey; © 2004-2005 Korina Loumidi; © 2004-2005 Keith Bare
debian/copyright
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
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 |
|
| 17 |
}; |
| 18 |
|
| 19 |
#endif |