• 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
coreaudio java 1.4.1 issues?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coreaudio java 1.4.1 issues?


  • Subject: coreaudio java 1.4.1 issues?
  • From: "Damien Everett" <email@hidden>
  • Date: Thu, 27 Mar 2003 01:22:46 +1100

I've implimented a java music app that uses coreaudio to dynamically generate and perform with midi. It has a swing interface and ran ok (if slowly) in 1.3.1.

I upgraded to to 1.4.1 and added:
-Xbootclasspath/a:/System/Library/Frameworks/JavaVM.framework/Versions/
1.4.1/Classes/CoreAudioSupport.jar
to additional VM options.

I've cleaned, polished, created a new project, searched for solutions, even rebuilt standing on one leg holding my breath with my eyes closed... and still it does not work.

It seems to still want to use JDirect once I call myAUGraph = new AUGraph();
(stacktrace below)

I seem to remember installing an early 1.4.1 preview version months ago and then disabling it when I discovered it would not work with coreaudio, so I'm not sure if that might be the problem or how to fix it :(

I need to give a talk to my university department tomorrow night and demonstrate this app and I'm sure 1.4.1 will perform a lot better!

many thanks,
Damien


LaunchRunner Error] IMPSSystem.main(String[]) threw an exception:
java.lang.NoClassDefFoundError: com/apple/mrj/internal/jdirect/Accessor
at com.apple.audio.toolbox.AUGraph.allocate(AUGraph.java:82)
at com.apple.audio.toolbox.AUGraph.<init>(AUGraph.java:71)
at imps.ICAGraph.createGraph(ICAGraph.java:294)
at imps.ICAGraph.<init>(ICAGraph.java:132)
at imps.ISystem.init(ISystem.java:84)
at IMPSSystem.main(IMPSSystem.java:11)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)

IMPSSystem has exited with status 0.
_______________________________________________
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: Stream format
  • Next by Date: Using getrusage function in a CoreAudio callback
  • Previous by thread: Re: AU, GMPI, and music plugin APIs
  • Next by thread: Using getrusage function in a CoreAudio callback
  • Index(es):
    • Date
    • Thread