Could tell me why this exception?
Exception in thread "Thread-19" 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.
actually, all combination of sample frequency, sample size etc are not supported by sound cards. I used those values because they seemed to be working on most sound cards I tested, but they may not work on all sound cards; Try with other values (big endian, 8 bits sample size, PCM_UNSIGNED), etc. Are you working on Mac OS ? I possibly got issues with sound cards on Mac OS JVM.
I used Fedora 14 64bits but i am change to Ubuntu 64bits. because I'm having problems with sound and other things
in Windows works well?, have not tried it yet.
I tested on windows 7 and windows xp and it worked, but it may depend on the sound card you're using. In theory, it should work with your pc, but unfortunately, in java, nothing guarantees a combination of sample frequency, sample size, endianness, sign, and number of channels that will work on all computers.
I tested en Ubuntu 10.10 Maverick and Fedora 14 and it worked (only that in Fedora i haven't install correctly the soundcard drivers).
great! good to know that it works.
Please give your idea abt . I do not have an souncard installed . I got the same exception. Will I be able to recover this???
when you say you have no sound card, you mean it's integrated in your computer mother board? You can't use peers if you have no speakers nor microphone. As soon as you have a microphone plugged in your computer, it implies that you have a sound card, or the same features integrated on motherboard. I think you have sound features in your computer, but your sound card does not support this format. In this case it would be necessary to test several combinations, find one that works, and convert this format output to a standard one (used by default).