Hi all:
I try to use SCListener (
SCListener: The Easy Way to Detect iPhone Microphone Sound Levels) to listen the input from mic.
If the sound level approach the threshold, there is a sound effect will be played.

(I use AVAudioPlayer to play the sound effect).
However, I found some strange behavior.
I try to turn off the sound(Ring/Silent), but the sound effect still be played.
If any one can give me some suggestion, what can I do.
Thanks,
Fen