Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

could not get audio input stream from input stream from datagrampacket UDP  RSS feed

 
Damaso Lopez
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I've got this code:



throws the exception:

javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input stream

I've the jl.jar, mp3spi.jar and tritonus_share.jar in my project but still it throws the exception, I prove the next line:

and I can listen to the music, the variable 'line' is type SourceDataLine, Can you help me,please?


Hi all everybody, today it's doing solve:

I did made it evil, it was poorly implemented, thanks, the solve code is:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!