Fixed possible bug in NzMusic

Caused by sending a non-updated buffer to OpenAL


Former-commit-id: 4441bcc9cd8cee874ba8bc5f66f1234cfffd3621
This commit is contained in:
Lynix
2014-01-09 21:04:58 +01:00
parent 26fb8abbbd
commit 601346a566
2 changed files with 11 additions and 11 deletions

View File

@@ -61,7 +61,7 @@ class NAZARA_API NzMusic : public NzSoundEmitter
private:
NzMusicImpl* m_impl = nullptr;
bool FillBuffer(unsigned int buffer);
bool FillAndQueueBuffer(unsigned int buffer);
void MusicThread();
static NzMusicLoader::LoaderList s_loaders;