is there a mic api, and can detect dB level, then decide whether to play out the input sound in speaker.

you know, we want to develop a talking-tom cat smilar app in N9.
and now we can detect sound and record sound, but dont know how to detect of the sound's dB level, if the sound is higher than a dB level, then we will output the sound in the speaker, otherwise make the sound un-output.

can you help us to config it out?

more feedbacks from other parties:
http://forum.meego.com/showthread.php?t=3897

still, we need a N9 source demo code for us running on QT, so we can easily run it and modify it.

thank you!