Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Mundt Due
OneLoneCoder
Commits
56bc1069
Unverified
Commit
56bc1069
authored
Oct 11, 2018
by
Javidx9
Committed by
GitHub
Oct 11, 2018
Browse files
Fixed GLOOP::PlaySample Def
parent
2fcb3f0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
olcConsoleGameEngineGLOOP.cpp
View file @
56bc1069
...
...
@@ -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
olcConsoleGameEngine
GL
OOP
::
PlaySample
(
int
id
,
bool
bLoop
=
false
)
{
sCurrentlyPlayingSample
a
;
a
.
nAudioSampleID
=
id
;
...
...
@@ -1628,4 +1628,4 @@ float olcConsoleGameEngineGLOOP::GetMixerOutput(int nChannel, float fGlobalTime,
atomic
<
bool
>
olcConsoleGameEngineGLOOP
::
m_bAtomActive
(
false
);
condition_variable
olcConsoleGameEngineGLOOP
::
m_cvGameFinished
;
mutex
olcConsoleGameEngineGLOOP
::
m_muxGame
;
\ No newline at end of file
mutex
olcConsoleGameEngineGLOOP
::
m_muxGame
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment