• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to add buffer to play mp3 in the Samsung U600?

 
stef li
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i have made a simple player to play mp3, but it can play it only when the mp3's size it short.
if i play a large size mp3, the player doesn;'t work.

but i found that there is a player called "Glass Player", it can play the larger one.
So i want to know how does it do? how can i add buffer to preload the mp3?

i have used the prefetch() to load it into memory, but it doesn;t work.
-----------------------------------------
player.prefetch();
player.start();
-----------------------------------------

Please help me! thanks in advance!!
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!