• Post Reply Bookmark Topic Watch Topic
  • New Topic

audio not playable  RSS feed

 
ahmed yehia
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I attempt to run java programs with audio but fail(no sound output)
I ve tried programs with (.wav and .au)
only programs with (.mid) are playable.
[ January 20, 2007: Message edited by: A Yehia ]
 
Eric Daly
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is just a shot in the dark as I do not know any sound programming yet, but maybe you need to explicitly open an audio port (it talks about it a little bit here http://java.sun.com/j2se/1.5.0/docs/guide/sound/programmer_guide/chapter3.html#113216)
because it's saying sometimes based on the platform you're using, some ports may be off by default
maybe you could post some code?
[ January 20, 2007: Message edited by: Eric Daly ]
 
ahmed yehia
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I m using win98 along with java 5, back to 4 solves the problem.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!