• 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: "Shawn Erickson" <email@hidden>
  • Date: Tue, 19 Dec 2006 16:26:15 -0800

On 12/19/06, Evan Olcott <email@hidden> 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...

Based on what William stated I guess the API wants a pointer to a CFDictionaryRef and CFDictionaryRef is effectively synonymous with NSDictionary* thanks to toll-free bridging. So...

NSDictionary* info = [NSDictionary ....];
AudioFileSetProperty(... &info);

Personally it seems a little strange that it would want a pointer to a
pointer to a dictionary on the "set" side of things but it may have
been done that way for consistency with other data blobs settable via
that function.

Humm... what would inDataSize be in this case? sizeof(CFDictionaryRef)?

-Shawn
_______________________________________________
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


  • Follow-Ups:
    • Re: Adding info dictionary to AAC export
      • From: William Stewart <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>)

  • Prev by Date: Re: Adding info dictionary to AAC export
  • Next by Date: Re: Adding info dictionary to AAC export
  • Previous by thread: Re: Adding info dictionary to AAC export
  • Next by thread: Re: Adding info dictionary to AAC export
  • Index(es):
    • Date
    • Thread