1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-13 06:29:41 +01:00
VVVVVV/desktop_version/src/SoundSystem.h

29 lines
397 B
C++

#ifndef SOUNDSYSTEM_H
#define SOUNDSYSTEM_H
#include <SDL_mixer.h>
class MusicTrack
{
public:
MusicTrack(const char* fileName);
MusicTrack(SDL_RWops *rw);
Mix_Music *m_music;
bool m_isValid;
};
class SoundTrack
{
public:
SoundTrack(const char* fileName);
Mix_Chunk *sound;
};
class SoundSystem
{
public:
SoundSystem();
void playMusic(MusicTrack* music);
};
#endif /* SOUNDSYSTEM_H */