more AudioFile Questions
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