|
Loading...
|
coreaudio-api@lists.apple.com
[Prev] Thread [Next] | [Prev] Date [Next]
Re: custom AudioUnits and processing iTunes library on iPhone Bill Phillips Tue Apr 03 14:00:22 2012
On Tue, Apr 3, 2012 at 3:02 PM, Chris Adamson <[EMAIL PROTECTED]> wrote: > You can get sample-level access to the user's music by using the > MPMediaItemPropertyAssetURL, using it to open the song as an AVURLAsset with > the AV Foundation framework, then using the AVAssetReader API to read > samples. Once you have samples, you could run them through an AUGraph and > perform whatever processing you like. There are certain threading and > buffering considerations that make this harder than you might be ready for, > to say nothing of having to juggle three media APIs, but that should be the > basic idea. I found that my easy, functional AVURLAsset solution had issues with decoding assets while in the background. It seems to use mediaserverd to do any decoding work, and mediaserverd has its own ideas about managing the hardware decoder. My solution was to use AVURLAsset to get the encoded data, then decode it using an AudioQueue. -- Bill _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([EMAIL PROTECTED]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/alexiscircle%40gmail.com This email sent to [EMAIL PROTECTED]
- custom AudioUnits and processing iTunes library on iPhone Kevin Dixon 2012/04/03
- Re: custom AudioUnits and processing iTunes library on iPhone Chris Adamson 2012/04/03
- Re: custom AudioUnits and processing iTunes library on iPhone Kevin Dixon 2012/04/03
- Re: custom AudioUnits and processing iTunes library on iPhone Chris Adamson 2012/04/03
- Re: custom AudioUnits and processing iTunes library on iPhone Bill Phillips 2012/04/03 <=
- Re: custom AudioUnits and processing iTunes library on iPhone Kevin Dixon 2012/04/19