Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with playTone() method

 
honey sachdeva
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

i am use following code

try {
Manager.playTone(ToneControl.C4, 5000, 100);
} catch (MediaException ex) {
ex.printStackTrace();
}

but it play tone for always 1 second. it ignore the duration..

i am using netbeans 6.7

can anyone help in this
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic