Fixed music looping

Former-commit-id: 2484c81da5e2f0c0ef72cfbad26e53df129662e7
This commit is contained in:
Lynix
2013-04-02 01:40:19 +02:00
parent 2fb46d6317
commit d989069336
5 changed files with 43 additions and 48 deletions

View File

@@ -52,7 +52,7 @@ class NAZARA_API NzMusic : public NzSoundEmitter
bool OpenFromStream(NzInputStream& stream, const NzMusicParams& params = NzMusicParams());
void Pause();
bool Play();
void Play();
void SetPlayingOffset(nzUInt32 offset);

View File

@@ -34,7 +34,7 @@ class NAZARA_API NzSound : public NzSoundEmitter
bool LoadFromStream(NzInputStream& stream, const NzSoundBufferParams& params = NzSoundBufferParams());
void Pause();
bool Play();
void Play();
void SetBuffer(const NzSoundBuffer* buffer);
void SetPlayingOffset(nzUInt32 offset);

View File

@@ -35,7 +35,7 @@ class NAZARA_API NzSoundEmitter
bool IsSpatialized() const;
virtual void Pause() = 0;
virtual bool Play() = 0;
virtual void Play() = 0;
void SetAttenuation(float attenuation);
void SetMinDistance(float minDistance);