Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ould Nadif
Ranch Hand
Posts: 184
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic