Error: Failed to create audio file ('fmt?')
Changing the file type to EZRecorderFileTypeWAV causes:
Error: Failed to create audio file ('fmt?')
I'm using Xcode 7.1.1 testing through the simulator on iOS9. This is replicable in the EZAudioRecordExample, and yet works fine for other file types.
Any ideas what's causing this? It seems to be related to iOS9 as it worked without issues in iOS8.
Hi,
I have the same problem.
I use Xcode 7.1
On the simulator or the device the app crashes when I try to record a wav file.
Just try changing the file format from EZRecorderFileTypeM4A to EZRecorderFileTypeWAV in the EZAudioRecordExample project.
same problem
Just ran into this as well. Any updates?
Did you try the commit listed above by thuydx55?
same problem
find the solution to the problem at the site: http://stackoverflow.com/questions/27791605/ezaudio-framework-error-couldnt-initialize-output-unit-fmt.
case EZRecorderFileTypeWAV: asbd = [EZAudioUtilities stereoFloatInterleavedFormatWithSampleRate:sourceFormat.mSampleRate];
update the absd as the site.