GLBasic forum

Main forum => Bug Reports => Topic started by: mrplant on 2011-Sep-17

Title: STOPMUSIC not working on Mac OS X
Post by: mrplant on 2011-Sep-17
Hi.

I am writing one codebase that runs on PC, Mac and iPad.

The same code for playing and stopping music is running.
It runs fine on the PC and the iPad but strangely on the MAC OS X - it does not kill the music - which continues to play.. strange

my Code is along the lines of:

PLAYMUSIC "Game.mp3", TRUE

then. later I do a STOPMUSIC command

PC and iPad are fine with that but MAC OS X keeps on playing tune...

Sorry - I hate reporting bad news... I can live with it for now but a bit annoying when testing...
Title: Re: STOPMUSIC not working on Mac OS X
Post by: quangdx on 2011-Dec-25
Just run into this bug myself.
Works fine in Windows, but Mac OS X just keeps playing the song after the STOPMUSIC command.
Title: Re: STOPMUSIC not working on Mac OS X
Post by: spacefractal on 2011-Dec-27
Not tested its happens here too. A little workaround meantime fix could to play a empty mp3 file and don't loop it?
Title: Re: STOPMUSIC not working on Mac OS X
Post by: mrplant on 2011-Dec-29
Hi

Thats exactly what I do here - play a blank sound file - specifically on the  mac codebase only - its dirty but it works..

Hopefully it gets fixed soon and I can remove my fixit routine!! ;-)
Title: Re: STOPMUSIC not working on Mac OS X
Post by: Kitty Hello on 2012-Jan-02
fixed in next update. Please do PAUSEMUSIC TRUE, then STOPMUSIC so far.
Title: Re: STOPMUSIC not working on Mac OS X
Post by: mrplant on 2012-Jan-09
I tried PAUSEMUSIC True at the start of my program - correct?
Then STOPMUSIC later..

Unfortunatly on the latest update from today 10.230 - still not working on OSX Lion anyway.. in that the music doesn't stop playing.

Still using my workaround for now of playing a blank sound file.

Just to let you know.

mrp.