Re: Adding info dictionary to AAC export
Re: Adding info dictionary to AAC export
- Subject: Re: Adding info dictionary to AAC export
- From: William Stewart <email@hidden>
- Date: Tue, 19 Dec 2006 15:52:06 -0800
The CA APIs are expecting CFDictionary so...
CFMutableDictionaryRef dict; // add some stuff to the dict.
AudioFile... (... &dict);
This is the same for the Audio Converter, Audio Units, etc that take these kinds of constructions as well
Bill On 19/12/2006, at 2:41 PM, Evan Olcott wrote:
On Dec 19, 2006, at 3:01 PM, William Stewart wrote: &info
ALL property values are passed by reference, not by value..
Right, right, I tried that too (i just copied and pasted the latest attempt from the code) to the same error.
But to that end, since my app is Cocoa, an NSDictionary object *is only* used as a reference: NSDictionary *info; They can't be declared without the reference, so in this case it's not perfectly clear - that's why I tried it both ways...
-ev
-- tel: +1 408 974 4056 __________________________________________________________________________ "Much human ingenuity has gone into finding the ultimate Before. The current state of knowledge can be summarized thus: In the beginning, there was nothing, which exploded" - Terry Pratchett __________________________________________________________________________ |
_______________________________________________
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