Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting the volume level of a Microphone

843802May 6 2009 — edited Jul 15 2009
Hi Everyone,
I've looked around and I haven't been able to figure this one out. Basically I need to get the volume level from the microphone as it is recording. For whatever reason, when I try and get the volume control from the TargetDataLine, it throws an exception. Is there a way to get around this or does this feature just plain not exist?

Thanks,
Robbie
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 12 2009
Added on May 6 2009
6 comments
481 views