Checking Input Availability At MIC of the System

N

NightCrawler

Hi,
I am doing a project in which I need to deal with Sound input/output.
I am able to play a wave file, and also able to take input from the
microphone and play it back.
To play live data I just keep on dumping the bytes read from
microphone to a stream, and then play it as required. It doesn't mater
that if mic is really getting input or the person holding mic is
silent.
Now my problem is, after starting the TargetDataLine, as soon as that
person starts speaking/making some sound, I need to do somethings, I
am stuck a bit here, not able to find any event that will tell me so,
plz help me.
I'll be Thankful for the solution...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top