[MonoTouch] Up to date audio recording example?
jlindborg
jlindborg2000 at gmail.com
Thu Dec 8 19:03:45 EST 2011
for folks trundling along after me... here's the changes that need to be
made.
the AudioFileType is not current - use the AudioFormatType:
NSNumber.FromInt32((int)AudioFormatType.LinearPCM),
and it's key
AVAudioSettings.AVFormatIDKey,
instead of using the old error object contruction and passing it in, use the
factory method "ToUrl":
recorder = AVAudioRecorder.ToUrl(_urlForVoiceName,settings,out error);
Make those changes and you should be good to go with the sample...
--
View this message in context: http://monotouch.2284126.n4.nabble.com/Up-to-date-audio-recording-example-tp4174688p4174886.html
Sent from the MonoTouch mailing list archive at Nabble.com.
More information about the MonoTouch
mailing list