Re: [genuine] Re: nib files in Sample AU
Re: [genuine] Re: nib files in Sample AU
- Subject: Re: [genuine] Re: nib files in Sample AU
- From: jacques couzteau <email@hidden>
- Date: Fri, 9 Jan 2004 19:31:56 +0100
Am 09.01.2004 um 18:53 schrieb Luke Bellandi:
>
>
On Jan 9, 2004, at 3:57 AM, jacques couzteau wrote:
>
>
> Where did the file SampleEffectUI.nib come from? What did i do to
>
> create it?
>
>
>
> In order to fully understand what i need to do to correctly implent
>
> proper interfaces (cocoa and generic) i decided to start from
>
> scratch. After reinstalling CoreAudio-Sample Code my fresh SampleAU
>
> has no SampleEffectUI.nib in English.lproj.
>
>
How did you reinstall it? The only way to get the SDK is by
>
(re)installing Panther. Sounds like the reinstall didn't work
>
correctly if you're missing files.
thers is an installer at apple's developer connection in the audio
section called "CoreAudio SDK". that's what i installed. it's filename
is CoreAudioSDKApril2003.dmg.bin and is dated from 24 Apr 2003.
is that wrong to install this?
thanks for your reply.
jacques
>
>
> Neither does it have targets to build the UIs (CocoaUI, AU + CocoaUI)
>
> . Additionally my modified SampleAU has more targets
>
> (ReverseOfflineUnit, OfflineTestCode)
>
> I wonder where did the file and the targets come from? I assume i
>
> must have done something that i can't reproduce. I also did not
>
> realize the consequences when i did it.
>
>
>
> Please help. Thank you!
>
>
>
>
>
> Am 07.01.2004 um 19:32 schrieb Michael Hopkins:
>
>
>
>> Jacques,
>
>>
>
>> The SampleEffectUI.nib is used for the cocoa UI for the
>
>> SampleEffectUnit while the Localizable.strings are used for the
>
>> parameter names in the Generic Carbon UI. If you are running the
>
>> sample effect unit in a carbon host such as AudioUnitHosting, you
>
>> will see the carbon UI only and not the cocoa ui. To see this
>
>> version of the UI, you will need to use a cocoa host. There is a
>
>> cocoa host in the SDK that you can use to display the cocoa-based
>
>> UI.
>
>>
>
>> Hope this clarifies things.
>
>>
>
>> -Michael
>
>>
>
>> On Jan 7, 2004, at 8:37 AM, jacques couzteau wrote:
>
>>
>
>>> hello,
>
>>>
>
>>> I ' ve recently started to develeop my own audioUnits. I just
>
>>> finished
>
>>> my first delay based on SampleEffectUnit. It works too. :)
>
>>>
>
>>> when i was sorting my stuff i copied all the source files to a
>
>>> different folder opened the project and tried to compile. the
>
>>> compiler
>
>>> complained that it was missing a sth: English.lproj
>
>>>
>
>>> So i added it from my backup and my AU compiled. But what surprised
>
>>> me
>
>>> was what i saw after opening the nib file: the interface of
>
>>> theSampleEffectUnit but not the modified interface that i used for
>
>>> my
>
>>> AU. To build the interface i modified my SampleEffectUnit class and
>
>>> the
>
>>> file Localizable.strings that is in English.lproj. That way
>
>>> sucessfully
>
>>> changed the labels the Units and the number of sliders. They are all
>
>>> working. I didn't fully understand what i was doing but since it
>
>>> worked
>
>>> i didn'r bother to investigate any further.
>
>>>
>
>>> Is it correct that the file "SampleEffectUI.nib" ist not used when
>
>>> the
>
>>> AU is being buit?
>
>>>
>
>>> How can I use interface Builder to design my UI?
>
>>>
>
>>> Have i introtuced an inconcistency by manipulating files without
>
>>> using
>
>>> interface builder?
>
>>>
>
>>> thanks for enlightening me on this issue. cheerz
>
>>>
>
>>> jc
>
>>> _______________________________________________
>
>>> 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.
_______________________________________________
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.