I use AVAudioEngine to record user talking, I want to achieve that when the user pauses or stops talking for over X seconds, will play back the sentence just recorded before.
But how can I detect this pause of talking during recording?? Haven't found useful API in AVAudioEngine, any idea to help me?