We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e95b006 commit 04baedfCopy full SHA for 04baedf
src/audio/internal/audioplayer.cpp
@@ -60,7 +60,7 @@ bool AudioPlayer::loadCopy(IAudioPlayer *player)
60
{
61
assert(player && dynamic_cast<AudioPlayer *>(player));
62
63
- if (!AudioEngine::initialized() || !player)
+ if (!AudioEngine::initialized() || !player || !player->isLoaded())
64
return false;
65
66
ma_engine *engine = AudioEngine::engine();
0 commit comments