AudioSession functions are deprecated from iOS 7.0, so prefer using AVAudioSession.
Suppress "deprecated" compile warning.
Merge pull request #1 from Quotation/master

Replace deprecated AudioSession function calls