About Store Forum Documentation Contact



Post Reply 
[Solved] Music Theme not properly looping
Author Message
xzessmedia Offline
Member

Post: #1
[Solved] Music Theme not properly looping
Hi there,

i play a musictrack this way:

Code:
MusicTheme bgmusic;

// its an OGG file
bgmusic += UID(2096048669, 290114880, 238561953, 3124082765);
Music.play(bgmusic);

The Track is mixed to give a perfect loop, but in game it will loop about 3-4 secs before the end of the track is reached so it wont loop perfectly anymore..

Anyone has the same issue, or a tip why this is caused or is it a bug?
I have to tell that i only have one music theme/track in the game, actually

The problem occurs on iPad, coded with Macbook Air and everything is up to date
(This post was last modified: 06-12-2013 09:05 PM by xzessmedia.)
06-11-2013 05:12 PM
Find all posts by this user Quote this message in a reply
Pherael Offline
Member

Post: #2
RE: Music Theme not properly looping
I open the headers and I found this:
Flt fade_in , // fade in time for starting new songs , default=0.5
fade_out , // fade out time for finishing old songs , default=3.0
(This post was last modified: 06-12-2013 07:52 PM by Pherael.)
06-12-2013 07:50 PM
Find all posts by this user Quote this message in a reply
xzessmedia Offline
Member

Post: #3
RE: Music Theme not properly looping
thank you very much!!
06-12-2013 08:10 PM
Find all posts by this user Quote this message in a reply
Post Reply