AVAssetExportSession produces corrupt WAV/AIF files
AVAssetExportSession produces corrupt WAV/AIF files
- Subject: AVAssetExportSession produces corrupt WAV/AIF files
- From: Art Gillespie <email@hidden>
- Date: Wed, 8 Dec 2010 15:52:00 -0700
Duped as rdar://8746200
On Dec 8, 2010, at 3:38 PM, Art Gillespie wrote:
> I can confirm this.
>
> After using AVAssetExportSession to export an LPCM/AIFF from the user's library, you wind up with a perfectly valid AIF file (i.e., all the PCM data is there) EXCEPT
>
> * numFrames in the COMM chunk is set to 0
> * chunkSize in the SSND chunk is set to 8
>
> This looks suspiciously like an underlying AudioFile instance isn't being closed at the end of the write.
>
> I'll dupe rdar://8725926 with my sample code.
>
> Best,
>
> Art
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden