Hi,
I'm on MT5 and iOS5 and I have a project that runs okay on MT4 and iOS4 but
gives this console output now when recording a wav file.
2011-11-03 14:09:20.950 MobileApp[7409:880f] Error loading
/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn:
dlopen(/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn,
262): Symbol not found: __dealloc
Referenced from:
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
Expected in:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/usr/lib/libobjc.A.dylib
in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
2011-11-03 14:09:20.951 MobileApp[7409:880f] Error loading
/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn:
dlopen(/System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn,
262): Symbol not found: __dealloc
Referenced from:
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
Expected in:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/usr/lib/libobjc.A.dylib
in
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
2011-11-03 14:09:20.986 MobileApp[7409:880f] Error loading
/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn:
dlopen(/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn,
262): Symbol not found: __dealloc
... and similar error messages
Here is a sample of the code:
NSObject[] values = new NSObject[] {
NSNumber.FromFloat (float.Parse(smplRate)),
NSNumber.FromInt32((int)ft),
NSNumber.FromInt32 (1),
NSNumber.FromInt32 ((int)AVAudioQuality.Max)
};
NSObject[] keys = new NSObject[] {
AVAudioSettings.AVSampleRateKey,
AVAudioSettings.AVFormatIDKey,
AVAudioSettings.AVNumberOfChannelsKey,
AVAudioSettings.AVEncoderAudioQualityKey
};
NSDictionary settings = NSDictionary.FromObjectsAndKeys (values, keys);
string basedir = ApplicationState.Instance.User.RecordingsPath;
audioFilePath = Path.Combine(basedir, fileName);
Console.WriteLine (audioFilePath);
NSUrl url = NSUrl.FromFilename ( audioFilePath );
NSError error = null;
recorder = AVAudioRecorder.ToUrl (url, settings, out error);
recorder.MeteringEnabled = true;
recorder.PrepareToRecord ();
recorder.Record ();
Any ideas what the warnings are about or how I can remove them?
Thanks,
Roland
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch