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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to