Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Sound - Error in TargetDataLine  RSS feed

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I have a problem in my code, I´m using the SourceDataLine to write in Mixer and TargetDataLine to read the stream, when I load the streams from SourceDataLine, that´s okay, when I read from TargetDataLine appear an error from AudioSystem.isLineSupported(), look that code:

why this?


thanks,
 
It's a beautiful day in this neighborhood - Fred Rogers. Tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!