Hello,
I've a problem with IsMusicPlaying()
I'm testing it with some mp3 musics but seems to return always True, even if the music is stopped ( using Times = 1 ).
During the playback I'm using an interval function to check (every second) if the music is ended or not, but IsMusicPlaying() returns always TRUE: any hints?
Regards,
Fabio
IsMusicPlaying()
IsMusicPlaying()
----------------------------
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: IsMusicPlaying()
Ok, seems to be a bug. I'll fix it. You can listen to the "OnMusicEnd" event as a work-around. Check the HollyAmp source code. It uses the "OnMusicEnd" event.
Re: IsMusicPlaying()
Thank you for the suggestion Andreas, I've used another workaround right now, but OnMusicEnd is better
----------------------------
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆
[Allanon] Fabio Falcucci | GitHub for recent works | Support me on Patreon for Hollywood libraries | ☆★ All my links ★☆