Jump to content
  • Advertisement
Sign in to follow this  
Volverine

how to stream mp3 with MIDP2 mobile api

This topic is 5083 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i have been trying to play a complete mp3 file about 2MB using MIDP2.0 but it only plays arround last 10 seconds. So i need to know how can stream the whole mp3 file and play it completly. this code is i am using to input mp3 file stream and making a player out of it: InputStream is = getClass().getResourceAsStream("5.mp3"); p = Manager.createPlayer(is, "audio/mpeg");

Share this post


Link to post
Share on other sites
Advertisement
not sure how ..

but it must be possible..

in class asResourceStream?

you woudl still have to buffer the stream and synch player up with that..

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!