I am making an attempt to file Audio in my .web Maui utility. For this I am utilizing iOS particular code (Plugin.Maui.Audio doesn’t fulfill all my wants).
In my code I make use of the InputAudioQueue
class. This works nice on the IPhone simulator, nonetheless, when deploying to a bodily IPhone calling the constructor causes a Crash. I don’t get any Stack hint, the one output is the next:
=================================================================
Native Crash Reporting
=================================================================
Bought a SIGABRT whereas executing native code. This normally signifies
a deadly error within the mono runtime or one of many native libraries
utilized by your utility.
=================================================================
=================================================================
Native stacktrace:
=================================================================
Am I doing one thing fallacious, and has anybody else encountered this earlier than?
Constructor:
public AudioRecorder()
{
AudioStreamDescription description = new AudioStreamBasicDescription();
InputAudioQueue queue = new InputAudioQueue(description);
}
Name
#if IOS
AudioRecorder recorder = new AudioRecorder();
#endif