• 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: Question about ExtAudioFileOpenURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about ExtAudioFileOpenURL


  • Subject: Re: Question about ExtAudioFileOpenURL
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 4 Mar 2009 08:02:16 -0800


On Mar 4, 2009, at 5:53 AM, Eugen Belyakov wrote:

Can ExtAudioFileOpenURL be used to open remote file (e. g. from http server)?

Nope, it only works on "file:" URLs. (There are a number of OS X APIs that use CFURL as a generic representation of a filesystem path, so this function is for your convenience if you're storing filenames that way in your app.)


You can use something like NSURLDownload) to download the file and then open it locally with ExtAudioFile; or you can use NSURLConnection to stream from the server and pass the data through an AudioFileStream.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >Question about ExtAudioFileOpenURL (From: Eugen Belyakov <email@hidden>)

  • Prev by Date: Question about ExtAudioFileOpenURL
  • Next by Date: Re: How to proper destroy an AURemoteIO ????
  • Previous by thread: Question about ExtAudioFileOpenURL
  • Next by thread: Audio Stops when SubGraph reconnects
  • Index(es):
    • Date
    • Thread