Fixed GLOOP::PlaySample Def

master
Javidx9 6 years ago committed by GitHub
parent 2fcb3f0a82
commit 56bc106976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      olcConsoleGameEngineGLOOP.cpp

@ -1413,7 +1413,7 @@ unsigned int olcConsoleGameEngineGLOOP::LoadAudioSample(std::wstring sWavFile)
} }
// Add sample 'id' to the mixers sounds to play list // Add sample 'id' to the mixers sounds to play list
void olcConsoleGameEngineOOP::PlaySample(int id, bool bLoop = false) void olcConsoleGameEngineGLOOP::PlaySample(int id, bool bLoop = false)
{ {
sCurrentlyPlayingSample a; sCurrentlyPlayingSample a;
a.nAudioSampleID = id; a.nAudioSampleID = id;
@ -1628,4 +1628,4 @@ float olcConsoleGameEngineGLOOP::GetMixerOutput(int nChannel, float fGlobalTime,
atomic<bool> olcConsoleGameEngineGLOOP::m_bAtomActive(false); atomic<bool> olcConsoleGameEngineGLOOP::m_bAtomActive(false);
condition_variable olcConsoleGameEngineGLOOP::m_cvGameFinished; condition_variable olcConsoleGameEngineGLOOP::m_cvGameFinished;
mutex olcConsoleGameEngineGLOOP::m_muxGame; mutex olcConsoleGameEngineGLOOP::m_muxGame;

Loading…
Cancel
Save