• 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: Audio Unit UIs in Java (JNI) App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Unit UIs in Java (JNI) App


  • Subject: Re: Audio Unit UIs in Java (JNI) App
  • From: William Stewart <email@hidden>
  • Date: Wed, 24 Jan 2007 14:09:29 -0800

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)

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: 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
________________________________________________________________________ __


_______________________________________________
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: Audio Unit UIs in Java (JNI) App
      • From: Bjorn Roche <email@hidden>
References: 
 >Audio Unit UIs in Java (JNI) App (From: Bjorn Roche <email@hidden>)
 >Re: Audio Unit UIs in Java (JNI) App (From: Bjorn Roche <email@hidden>)

  • Prev by Date: Re: Audio Unit (debug) output parameters
  • Next by Date: Re: [Newby] : how to mix Quicktime sound tracks with live audio ?
  • Previous by thread: Re: Audio Unit UIs in Java (JNI) App
  • Next by thread: Re: Audio Unit UIs in Java (JNI) App
  • Index(es):
    • Date
    • Thread