Re: file format for sound
Re: file format for sound
- Subject: Re: file format for sound
- From: Kyle Sluder <email@hidden>
- Date: Tue, 09 Aug 2011 10:17:27 -0700
On Tue, Aug 9, 2011 at 9:44 AM, Jim McGowan <email@hidden> wrote:
> I don't do any iOS development, only Mac, so I can't confirm that for you (i'm sure someone on the list will), but I would be surprised if a basic unit like that was missing on iOS. On Mac it is manufacturer: kAudioUnitManufacturer_Apple, type kAudioUnitType_Generator and subtype kAudioUnitSubType_AudioFilePlayer. Maybe searching for these constants in the docs will help out.
Doesn't look like this audio unit exists on iOS.
http://developer.apple.com/library/ios/#documentation/MusicAudio/Conceptual/AudioUnitHostingGuide_iOS/UsingSpecificAudioUnits/UsingSpecificAudioUnits.html#//apple_ref/doc/uid/TP40009492-CH17-SW4
The way to get audio into an AUGraph, apart from using a generator
audio unit, is to write a render callback function and attach it to a
node in the graph using AUGraphSetNodeInputCallback.
Chris Adamson's blog at http://www.subfurther.com/blog/ is a great
resource for Core Audio topics, and if you do _any_ audio programming
on OS X or iOS, his forthcoming Core Audio book should be on your
must-buy list.
--Kyle Sluder
_______________________________________________
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