aspose file tools*
The moose likes Game Development and the fly likes Java Sound - Error in TargetDataLine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Game Development
Bookmark "Java Sound - Error in TargetDataLine" Watch "Java Sound - Error in TargetDataLine" New topic
Author

Java Sound - Error in TargetDataLine

Fernando hiar
Greenhorn

Joined: Jan 11, 2008
Posts: 29
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 is sorta covered in the JavaRanch Style Guide.
 
subject: Java Sound - Error in TargetDataLine