• Welcome to Dark Bit Factory & Gravity.
 

uFMOD : XM_NOLOOP Funtion

Started by Mynes, October 16, 2008

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Mynes

Well i'm stuck with this one. . .

I have my code set to load the XM from file (externally)

uFMOD_PlaySong(@"Music\MY.xm",0 ,XM_FILE)

but i can't seem to get the XM_NOLOOP function mentioned here ;

XM_NOLOOP    An XM track plays repeatedly by default. Specify
'                    this flag to play it only once.


To work :/ any ideas

hellfire

i've got *absolutely* no clue about ufmod but there's probably a loop-command in the tune itself, thus ufmod never actually reaches the end of the track.
Challenge Trophies Won:

Mynes

I got some help :D just after i posted it,

if anyone needs it example would be

uFMOD_PlaySong(@"Music\MY.xm",0 ,XM_FILE OR XM_NOLOOP)

Shockwave

Thanks for answering your own question Mynes :)

Nice little code tip there too.
Shockwave ^ Codigos
Challenge Trophies Won: