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

30 lines
397 B
C
Raw Normal View History

2020-01-01 21:29:24 +01:00
#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 */