Fix crash with dictation and audio recording
This MR is addressing the issue: [XMI-192] Crash when enabling dictation from keyboard + recording audio feature from chat together
Discussion
This MR adds some error handling, to avoid crashes, but does not fix the issue entirely. There's a lot of !try
in the audio recording code, that should be eventually refactored and improved.
What was done
-
Handle AVAudioPlayer
setup failure inVoxophone