• Post Reply Bookmark Topic Watch Topic
  • New Topic

Recording and Playing Sound with Java  RSS feed

 
Mahtab Alam
Ranch Hand
Posts: 391
1
Java MySQL Database PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried example given at webpage the program runs without any exceptions.

But it does not record anything .

I also tried another example given at
webpage
This one results in exception saying

Exception in thread "main" java.lang.ClassCastException: com.sun.media.sound.DirectAudioDevice$DirectTDL cannot be cast to javax.sound.sampled.SourceDataLine

Whats the problem , Microphone is the problem or something else.
 
Nam Ha Minh
Ranch Hand
Posts: 515
Eclipse IDE Firefox Browser Windows
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!