Re: Audio Unit UIs in Java (JNI) App
Re: Audio Unit UIs in Java (JNI) App
- Subject: Re: Audio Unit UIs in Java (JNI) App
- From: Bjorn Roche <email@hidden>
- Date: Wed, 24 Jan 2007 17:27:14 -0500
On Jan 24, 2007, at 5:09 PM, William Stewart wrote:
The AUs provide a mechanism for the provision of Cocoa or Carbon
based views, not Java. If you wanted to use Java for a view, you'd
have to somehow present it within the Cocoa context and manage the
whole "get java to draw in Cocoa" thing yourself (including
instantiating the java vm)
Thanks for the reply. The question I started this thread with was: Is
is possible to show the Cocoa or Carbon view of an AU from inside a
Java host app using JNI? Matt's answer was, essentially, "yes, read
technote 2147 o find out how". I'm not sure I understand your
response -- could clarify or elaborate, please?
thanks,
bjorn
Bill
On 09/01/2007, at 8:31 AM, Bjorn Roche wrote:
On Jan 8, 2007, at 12:39 AM, Matt Drance wrote:
Hi Bjorn,
You should begin with TechNote 2147, which describes just those
threading/event-model issues:
http://developer.apple.com/technotes/tn2005/tn2147.html
Matt,
Many thanks for this. I don't know how I missed it, but it looks
like it's just what I need (I often miss things in the Apple docs,
though they don't seem to be especially poorly organized). Anyone
know if there is something similar for Carbon? My understanding is
that Java is Cocoa-based and it's hard to integrate Cocoa and
Carbon, so maybe there is no easy answer to that one....
Anyway, thanks for the tip.
bjorn
On Jan 7, 2007, at 9:28 AM, Bjorn Roche wrote:
Hey all,
Sorry for the cross-post. I suspect this is more of a java
issue, but I wanted to include the CoreAudio list in case there
are other issues. My question is: is it possible to build a Java/
Swing app that displays Audio Unit carbon/cocoa interfaces?
Specifically, my app would use JNI for all audio-playback
related code, so the UI element from the AU would have to pass
through JNI to get to the Java/Swing GUI. From looking though
the docs, it looks like it would be possible to create the UI
element in the C code and pass that through JNI to Java, but
from there it's unclear if the UI element from the Audio Unit
could peacefully coexist in a Swing environment. I wouldn't know
where to begin dealing with threading/even-model issues if there
were any. Any thoughts on this?
TIA,
bjorn
-----------------------------
Bjorn Roche
XO Wave
Digital Audio Production and Post-Production Software
http://www.xowave.com
http://blog.bjornroche.com
http://myspace.com/xowave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
-----------------------------
Bjorn Roche
XO Wave
Digital Audio Production and Post-Production Software
http://www.xowave.com
http://blog.bjornroche.com
http://myspace.com/xowave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
--
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
______________________________________________________________________
____
-----------------------------
Bjorn Roche
XO Wave
Digital Audio Production and Post-Production Software
http://www.xowave.com
http://blog.bjornroche.com
http://myspace.com/xowave
_______________________________________________
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