Fixes problem described here: http://stackoverflow.com/questions/18922053/avaudiorecorder-avaudioplayer-with-ios-7-not-working-properly