From 56bc10697651417522c89feae8fc8da41a7fd6f4 Mon Sep 17 00:00:00 2001 From: Javidx9 Date: Thu, 11 Oct 2018 15:47:33 +0100 Subject: [PATCH] Fixed GLOOP::PlaySample Def --- olcConsoleGameEngineGLOOP.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/olcConsoleGameEngineGLOOP.cpp b/olcConsoleGameEngineGLOOP.cpp index 0170a3a..ef5456a 100644 --- a/olcConsoleGameEngineGLOOP.cpp +++ b/olcConsoleGameEngineGLOOP.cpp @@ -1413,7 +1413,7 @@ unsigned int olcConsoleGameEngineGLOOP::LoadAudioSample(std::wstring sWavFile) } // 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; a.nAudioSampleID = id; @@ -1628,4 +1628,4 @@ float olcConsoleGameEngineGLOOP::GetMixerOutput(int nChannel, float fGlobalTime, atomic olcConsoleGameEngineGLOOP::m_bAtomActive(false); condition_variable olcConsoleGameEngineGLOOP::m_cvGameFinished; -mutex olcConsoleGameEngineGLOOP::m_muxGame; \ No newline at end of file +mutex olcConsoleGameEngineGLOOP::m_muxGame;