It means that javasound cannot find a line with the rather common audio format specified. It is used for microphone capture. This format is often available on hardware sound cards or os or jvm. Are you running an odd pc ? Or mac os ? Are you running another application that is using sound ?
My advice is to write a test program to find the audio format supported by your platform an "transcode" the available format to the one written in exception. Thus, you'll be able to use the same codecs.
Hope this helps,
-------- Message d'origine --------
De : Erno Uijlenbroek firstname.lastname@example.org
A : "[peers:discussion]" email@example.com
Objet : [peers:discussion] Building my own peers.jar
I worked it out. The XML format seems to have changed compared to the jar I downloaded. Svn rev 205 uses something else.
My own jar built from eclipse now runs;
The next error is presented to me; is this a known issue?
Exception in thread "TransportManager 5060" java.lang.IllegalArgumentException: No line matching interface TargetDataLine supporting format PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian is supported.
at javax.sound.sampled.AudioSystem.getLine(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Any help is appreciated.
Building my own peers.jar
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/peers/discussion/683024/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Thanks for the reply. No odd hardware. What seemed to be the problem is my mic was disconnected. By simply connecting the mic the exception disappears.
I now have peers running from my eclipse project.