diff options
Diffstat (limited to 'saga/sound.h')
-rw-r--r-- | saga/sound.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/saga/sound.h b/saga/sound.h index 06292c2099..1f339b2f5a 100644 --- a/saga/sound.h +++ b/saga/sound.h @@ -32,6 +32,10 @@ namespace Saga { +enum SOUND_FLAGS { + SOUND_LOOP = 1 +}; + struct SOUNDBUFFER { uint16 s_freq; int s_samplebits; @@ -48,7 +52,7 @@ public: Sound(SagaEngine *vm, SoundMixer *mixer, int enabled); ~Sound(); - int playSound(SOUNDBUFFER *buf, int volume); + int playSound(SOUNDBUFFER *buf, int volume, bool loop); int pauseSound(); int resumeSound(); int stopSound(); |