This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java Micro Edition and the fly likes Start playing and the time t (different to 0) ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Start playing and the time t (different to 0) ? " Watch "Start playing and the time t (different to 0) ? " New topic
Author

Start playing and the time t (different to 0) ?

Ould Nadif
Ranch Hand

Joined: Jan 21, 2004
Posts: 184
Hi all,

I created a player from a buffer(wav):
...
ByteArrayInputStream isb = new ByteArrayInputStream(Buffer);
player = Manager.createPlayer(isb, "audio/mpeg");
....
..

Normaly when you do (player.start()) the song start playing at the start(time = 0).

Is it possible to start the song at the date t (t different of 0)?

Thank you in advance for your help.


ould


We are ones that build the world, thus build it well.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Start playing and the time t (different to 0) ?