Fix finiFadeOutInt
This commit is contained in:
parent
1bc4b5e881
commit
dfc9771036
|
@ -271,6 +271,12 @@ void AudioStream::updateVolume()
|
||||||
|
|
||||||
void AudioStream::finiFadeOutInt()
|
void AudioStream::finiFadeOutInt()
|
||||||
{
|
{
|
||||||
|
#ifdef __EMSCRIPTEN__
|
||||||
|
fade.active.clear();
|
||||||
|
fadeIn.thread = 0;
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (fade.thread)
|
if (fade.thread)
|
||||||
{
|
{
|
||||||
fade.reqFini.set();
|
fade.reqFini.set();
|
||||||
|
|
Loading…
Reference in New Issue