• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding info dictionary to AAC export
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding info dictionary to AAC export


  • Subject: Re: Adding info dictionary to AAC export
  • From: Evan Olcott <email@hidden>
  • Date: Tue, 19 Dec 2006 21:40:02 -0600

Won't an NSDictionary * work as a CFDictionaryRef? Aren't they supposed to be toll-free bridged?
Like I said, I tried changing it to &dict with the same pty? error...

If that's not it, would it return a pty? error if it found a key in the dictionary that it couldn't translate?
The only keys I had in the dictionary at the time of error was "tempo" and "time signature", which apparently are both documented for use..

On Dec 19, 2006, at 5:52 PM, William Stewart wrote:

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...

 _______________________________________________
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

References: 
 >Adding info dictionary to AAC export (From: Evan Olcott <email@hidden>)
 >Re: Adding info dictionary to AAC export (From: William Stewart <email@hidden>)
 >Re: Adding info dictionary to AAC export (From: Evan Olcott <email@hidden>)
 >Re: Adding info dictionary to AAC export (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Adding info dictionary to AAC export
  • Next by Date: any alternate for ConvertMovieToFile function???
  • Previous by thread: Re: Adding info dictionary to AAC export
  • Next by thread: Re: Adding info dictionary to AAC export
  • Index(es):
    • Date
    • Thread