• 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
Re: Quick validation of an audio file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Quick validation of an audio file? (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Quick validation of an audio file?
  • Next by Date: AXUIElementPostKeyboardEvent - not sending key presses to Safari/TextEdit in Lion
  • Previous by thread: Re: Quick validation of an audio file?
  • Next by thread: AXUIElementPostKeyboardEvent - not sending key presses to Safari/TextEdit in Lion
  • Index(es):
    • Date
    • Thread