Re: Which API should I use?
Re: Which API should I use?
- Subject: Re: Which API should I use?
- From: William Stewart <email@hidden>
- Date: Tue, 23 Feb 2010 19:31:26 -0800
well. there are two things here:
ExtendedAudioFile
- can be used to read data from a file and give you linear PCM
Output audio units
- on the phone this is aurio
- on desktop, the default output unit (see AUComponent.h)
On Feb 23, 2010, at 2:27 PM, Jean-Daniel Dupas wrote:
> Le 23 févr. 2010 à 21:53, Wayne Pickering a écrit :
>
>> I'm looking for an API that will a) read any file format I throw at it and b) give me buffers of PCM audio I can modify and play back.
>>
>> I've successfully done this using kAudioUnitSubType_RemoteIO on the iPhone, which gracefully handles mp3, AAC, and AIFF files. I can't seem to find its counterpart on Mac OS X.
>>
>> Thanks,
>>
>
>
> ExtAudioFile API is higher level and easier to use than manipulating AudioUnit directly (and IIRC, it's available on iPhone too).
>
> http://developer.apple.com/Mac/library/documentation/MusicAudio/Reference/ExtendedAudioFileServicesReference/Reference/reference.html
>
>
> -- Jean-Daniel
>
>
>
>
> _______________________________________________
> 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
_______________________________________________
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