Re: JNI and AudioUnits??
Re: JNI and AudioUnits??
- Subject: Re: JNI and AudioUnits??
- From: Michael Purdy <email@hidden>
- Date: Thu, 06 Mar 2003 05:49:33 -0800
So, are you saying that AUCarbonViewBase isn't the only way to create a UI for an AU? Thus, leaving Carbon aside, it is possible to associate a UI in Swing to an AU? If so, I agree that the better way to solve this would be to find another way to get the Java gui in the AU, without carbon.
Michael
On Wednesday, March 05, 2003, at 04:02PM, Bill Stewart <email@hidden> wrote:
>
The difficulty is that you can't readily have Java code draw to a
>
carbon window (and this is even more true with the new 1.4 Java VM
>
which has *no* direct carbon UI support)
>
>
I don't think this is the right way to solve this - some other way to
>
get a java UI assoc with an AU would be better
>
>
Bill
>
>
On Wednesday, March 5, 2003, at 03:54 PM, Michael Purdy wrote:
>
>
> Thanks for the info Bill. I was thinking that we would be able to
>
> access our Java classes via Carbon using JNI. In this way, the java
>
> code is just like any other custom code. My assumption is that when
>
> using AUCarbonViewBase, we have the ability to place some custom
>
> controls, such as sliders, knobs, and panels beyond the standard Aqua
>
> controls.
>
>
>
> I guess my question is how one would do this. Because, knowing how to
>
> place any custom control in a AUCarbonViewBase class would allow us to
>
> do java too.
>
>
>
> Thanks for any help you can provide
>
>
>
> Michael
>
>
>
> On Wednesday, March 05, 2003, at 01:01PM, Bill Stewart
>
> <email@hidden> wrote:
>
>
>
>> The current UI API for audio units assumes that your UI will work
>
>> within the UI context that is defined by Carbon.
>
>>
>
>> We don't have a standardized means to publish either a Cocoa or Java
>
>> UI
>
>> from the audio unit.
>
>>
>
>> As the name suggests in the SDK, AUCarbonViewBase represents
>
>> ultimately
>
>> a set of classes to help you implement a CarbonUI-AUView component -
>
>> it
>
>> does not provide you any help (aside perhaps from capturing general
>
>> concepts like using the Parameter Notification and Listener mechanism
>
>> to track parameter values) for implementing either a Cocoa or Java
>
>> based UI widget.
>
>>
>
>> Bill
>
>>
>
>> On Wednesday, March 5, 2003, at 09:52 AM, Michael Purdy wrote:
>
>>
>
>>> We are creating a DSP Plug-in AudioUnit in which we will be needing
>
>>> to
>
>>> create a gui using Java/Swing. In looking at the MultitapAU sample
>
>>> project and using this as the base for our prototype, it seems that
>
>>> we
>
>>> should somehow have our swing gui classes (which are contained in a
>
>>> jPanel) placed in the MultitapAUView class which utilizes
>
>>> AUCarbonViewBase. However, we cannot quite figure out how to do so.
>
>>>
>
>>> Can anyone help with this or explain how to load a custom class into
>
>>> AUCarbonViewBase via JNI.
>
>>>
>
>>> Thank you
>
>>> _______________________________________________
>
>>> 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.
>
>>>
>
>>>
>
>> --
>
>> mailto:email@hidden
>
>> 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
>
>> ______________________________________________________________________
>
>> __
>
>> __
>
>>
>
>>
>
>>
>
>
>
>
>
--
>
mailto:email@hidden
>
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
>
________________________________________________________________________
>
__
>
_______________________________________________
>
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.