I'm using the Minim library to take input from a PC Mic. Using the standard V1.5.1 Minim GetlineIn example, I'm getting this error on the debug output screen.
==== JavaSound Minim Error ====
==== Error acquiring TargetDataLine: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
And it doesn't register any sound.
I've tried with 2 mics on my Windows XP HP desktop PC: An analogue one (Realtec AC97 Audio card), and a Digital one (Logitec USB Headset). In each case I've used Control Panel - Sounds - Voice - Test Hardware to check they're working OK and are the default input channel. Both give exactly the same result.
So also does a completely different old Dell laptop PC running Processing 1.5.1 on Windows 2000 (I know it's not supported, but yes, it works) with an analog sound card.
Funny thing is yesterday I had the this example (and other code) working correctly on the same HP desktop and the same digital mic. But since I've rebooted the PC I continually see the error above.
How can I get Processing to read from the mic?
==== JavaSound Minim Error ====
==== Error acquiring TargetDataLine: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
And it doesn't register any sound.
I've tried with 2 mics on my Windows XP HP desktop PC: An analogue one (Realtec AC97 Audio card), and a Digital one (Logitec USB Headset). In each case I've used Control Panel - Sounds - Voice - Test Hardware to check they're working OK and are the default input channel. Both give exactly the same result.
So also does a completely different old Dell laptop PC running Processing 1.5.1 on Windows 2000 (I know it's not supported, but yes, it works) with an analog sound card.
Funny thing is yesterday I had the this example (and other code) working correctly on the same HP desktop and the same digital mic. But since I've rebooted the PC I continually see the error above.
How can I get Processing to read from the mic?
1