• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AVAssetExportSession produces corrupt WAV/AIF files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >kAudioFilePropertyAudioDataPacketCount Broken for WAV files in iOS 4.2(.1)? (From: Christopher Liscio <email@hidden>)
 >Re: kAudioFilePropertyAudioDataPacketCount Broken for WAV files in iOS 4.2(.1)? (From: Christopher Liscio <email@hidden>)
 >Re: kAudioFilePropertyAudioDataPacketCount Broken for WAV files in iOS 4.2(.1)? (From: Art Gillespie <email@hidden>)

  • Prev by Date: Re: kAudioFilePropertyAudioDataPacketCount Broken for WAV files in iOS 4.2(.1)?
  • Next by Date: Tearing Down remoteIO unit - PerformThru errors
  • Previous by thread: Re: kAudioFilePropertyAudioDataPacketCount Broken for WAV files in iOS 4.2(.1)?
  • Next by thread: Setting AU Parameter Without Registering Automation
  • Index(es):
    • Date
    • Thread