• 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
[Fwd: AU resources]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fwd: AU resources]


  • Subject: [Fwd: AU resources]
  • From: Glenn Olander <email@hidden>
  • Date: Tue, 11 Feb 2003 18:37:35 -0800

Just to add some detail to what I'm doing:

My simple test consists of calling the carbon GetPicture()
function. I've verified that my input .rsrc does indeed contain the
PICT with the id I'm passing to GetPicture(), and I've checked
that the .rsrc is listed in the ResourceManager Resources. I've
at least verified that the output rsrc file in the resources
folder is big, so it must contain something...presumably my
PICT's.

However, in spite of all that, the GetPicture() fails.
I'm wondering if this works at all in Audio Units. Has anyone ever
had success getting a resource from within an Audio Unit?

- Glenn
Message-ID: <email@hidden>
Date: Tue, 11 Feb 2003 14:53:22 -0800
From: Glenn Olander <email@hidden>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1)
Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: email@hidden
Subject: AU resources
References: <email@hidden>
In-Reply-To: <email@hidden>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I'm having trouble figuring out how to use resources in an AU,
and the SDK examples and Project Builder help don't shed much
light on this subject, so I'm hoping someone here can help me
out or point me to somewhere where the information is available.

In OS9, if my plugin needs a resource, a PICT for example, I
use resedit to assign that PICT an id and CW puts it in the
resource fork when I build.

How do I accomplish the same thing with Project Builder?
I see a resources folder in the bundle, but what needs to be
in there for my Carbon call which passes a resource id to
succeed? How do I instruct Project Builder to create that?

- Glenn
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Hosttime?
  • Next by Date: Re: The Plugin Settings Approach.
  • Previous by thread: Re: AU Resources
  • Next by thread: Troubles with MIDI input
  • Index(es):
    • Date
    • Thread