Re: Quick validation of an audio file?
Re: Quick validation of an audio file?
- Subject: Re: Quick validation of an audio file?
- From: Jens Alfke <email@hidden>
- Date: Thu, 17 Nov 2011 16:34:03 -0800
On Nov 17, 2011, at 2:41 PM, Fritz Anderson wrote:
> My app downloads (does not stream) audio files, and I want to be a good citizen and not assume they are actually audio files until I've verified them.
IIRC, the AudioToolbox framework has code for this. Check AudioFile.h or ExtendedAudioFile.h.
FYI, the coreaudio-api list would be the best place to ask more questions about this.
—Jens
PS: I have no idea whether this framework exists on iOS. You didn’t specify which OS you meant, so I’m assuming Mac :)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden