• 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
more AudioFile Questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

more AudioFile Questions


  • Subject: more AudioFile Questions
  • From: Ashley Allen <email@hidden>
  • Date: Wed, 01 Apr 2009 13:13:28 -0700

Hi,

The AudioFile documentation states that you can read or write a wide variety of audio data to or from a disk or a buffer. I have successfully loaded a sample from a URL using CFURLCreateDataAndPropertiesFromResource which gives me a CFDataRef to the sample. How do I load the buffer into an AudioFile object given that all the AudioFileOpen requires a FSRef object? I prefer to use the kAudioUnitSubType_AudioFilePlayer otherwise I will have to change my code to work with kAudioUnitSubType_ScheduledSoundPlayer.

Thanks,
Ashley
 _______________________________________________
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

  • Follow-Ups:
    • Re: more AudioFile Questions
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Can't get AudioUnit from AUGraphNodeInfo
  • Next by Date: Re: AudioFileOpenURL
  • Previous by thread: Re: Can't get AudioUnit from AUGraphNodeInfo
  • Next by thread: Re: more AudioFile Questions
  • Index(es):
    • Date
    • Thread