Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Music problem

Author
Message
chanchan
15
Years of Service
User Offline
Joined: 17th Dec 2008
Location:
Posted: 19th Dec 2008 06:34
I tried playing music with dbLoopMusic() function
but it gets crashed (buffer overflow) when my mp3 filesize > 9MB

then I tried again with mp3 < 3MB, works fine

Is it limitation of dbLoopMusic?
if it is how much exactly mp3's filesize Dark GDK can handle?

Always learning
Morcilla
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: Spain
Posted: 19th Dec 2008 10:33
I've played longer songs than that. However I don't use dbLoopMusic as it wasn't working at the beginning.
Instead, I take note of the length of the song, capture the timer when it starts playing and then play it again when the time played equals the length.
chanchan
15
Years of Service
User Offline
Joined: 17th Dec 2008
Location:
Posted: 19th Dec 2008 12:06
I don't really understand...

How you do that?

Always learning

Login to post a reply

Server time is: 2024-11-25 09:28:34
Your offset time is: 2024-11-25 09:28:34