Hi,
I have got two audio players in prefetch state and as soon as the first player finishes playing I want the second one to start, but unfortunately there is a gap. Can this gap be minimized. The code I used :
Player player1 = Manager.createPlayer(is,type);
player1.realize();
player1.prefetch();
Player player2 = Manager.createPlayer(is,type);
player2.realize();
player2.prefetch();
player1.start();
while(player1.getState()==Player.STARTED){}
player2.start();
And I even tried with player listener, starting the second player on END_OF_MEDIA event of the first player. Can the gap be reduced further (any code). The device I am testing with is 6630 (6.03.40).
Thanks

Reply With Quote


