Update AudioEncode.m

Updated to work with Cordova 3.0