GLBasic forum

Main forum => GLBasic - en => Topic started by: MrTAToad on 2008-Oct-19

Title: PlayMusic
Post by: MrTAToad on 2008-Oct-19
Is there anyway to get PlayMusic to stop looping music ?
Title: Re: PlayMusic
Post by: Hemlos on 2008-Oct-20
Stopmusic

but i dont think theres a way to detect the end of a loop,

I hope we get implementations like this one day, it will be super useful using midi's:

loadmusic "file.mid", 0
loopmusic 0
playmusic 0



Title: Re: PlayMusic
Post by: MrTAToad on 2008-Oct-20
Sounds like I need to get LoadSound/PlaySound to accept my WAV file then !
Title: Re: PlayMusic
Post by: Hark0 on 2008-Oct-20
About playmusic....

I found another post on this forum talking about SDL_mixer (for PPC devices).

Any source sample for load/init SDL lib?

TIA, Hark0