02-12-2013 05:47 AM
have a player, playing 3 songs back to back.
I play first music, during it i get duration correct
when second music comes, it brings to me the old duration back? it doesnt update it back. why so? whats wrong?
public int Duration(){
int i=0;
if(GlobalValue.playStream!=null){
i=(int) GlobalValue.playStream.getDuration()/1000 ;
System.out.println("iiii "+i);
return i;}
return i;
}
GlobalValue.playStream is the PLAYER
Solved! Go to Solution.
02-12-2013 06:42 AM
02-12-2013 06:43 AM
02-12-2013 06:48 AM
02-12-2013 06:51 AM
02-12-2013 07:01 AM
02-12-2013 07:54 AM
02-12-2013 07:59 AM