1
Audio / [SOLVED, i am idiot] Music stops playing sometimes
« on: January 20, 2021, 02:48:35 pm »
Good day. I've encountered a weird bug, which I have no idea how to reproduce in "small example"...
It happened in windows (built with mingw 32bit).
So I start music like this:
After this I added the log:
So the output is getLoop(), getPlayingOffset() and getDuration().
And sometimes it just stops playing... I added a log:
Have anyone had this bug, or have any ideas what could cause it? Thanks
It happened in windows (built with mingw 32bit).
So I start music like this:
track->stop();
track->openFromFile(...);
track->setLoop(loop);
track->play();
track->setPlayingOffset(cache->musics[current]);
track->openFromFile(...);
track->setLoop(loop);
track->play();
track->setPlayingOffset(cache->musics[current]);
After this I added the log:
Loop = true
Offset = 4739
Length = 96000
Offset = 4739
Length = 96000
So the output is getLoop(), getPlayingOffset() and getDuration().
And sometimes it just stops playing... I added a log:
Track loop = true
Offset = 0
Length = 96000
Status = Stopped
Offset = 0
Length = 96000
Status = Stopped
Have anyone had this bug, or have any ideas what could cause it? Thanks