How do I obtain the microphone on Macintosh? Is there a way to poll for the supported formats?
8000Hz, 8bit, mono, 1bytes/frame is NOT supported:
[quote]No line matching interface TargetDataLine
supporting format PCM_SIGNED 8000.0 Hz, 8 bit, mono, 1 bytes/frame,
is supported. *** Stack Trace: java.lang.IllegalArgumentException: No
line matching interface TargetDataLine supporting format PCM_SIGNED
8000.0 Hz, 8 bit, mono, 1 bytes/frame, is supported.
at javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:459)
at ao.jk.run(Unknown Source)
at java.lang.Thread.run(Thread.java:613)
[/quote]