In any program that involves getMicLevel(), I get a warning saying "Couldn't get mic level. line unavailable." I've used windows sound recorder to test my microphone and it works fine. Does anyone else have this issue?
Well, I find it interesting that you posted this 2 years ago and there are no responses that I can see.
I also am having the same problem. I am using Greenfoot to teach Java this summer and am using the "Introduction to Programming with Greenfoot" book written by Michael Kolling. (I know Java very well, but am new to Greenfoot.)
An early scenario in the book uses getMicLevel() to move a Stickman around the screen. My students and I all get the same message you get. Not one of us can get this method to work.
Is there a solution?
Thank you all for reporting this bug. We have solved it in our repository and should appear in the coming Greenfoot version 3.0.3 (hopefully soon).
This issue used to appear only on some operating systems, so it took some time to be found.