title: Delegate which tells did other sound play in Swift AvAudio?
body: <p>I am recording voice using AVAudioEngine for converting speech to text but I need to stop the recording if user phone suddenly start playing a music or ring? Is there an AVAudio delegate that tells me when any other music is playing?</p>