Below is the crash report from the JVM / CoreAudio
crash. Starting any java based IO Proc results in a crash. From
the call stack it on the crashed thread, shown below, seems that execution does
not even reach the AudioDeviceIOProc in java, which is empty and could not be
the source of the crash anyway. The crash reproduces on either Java 1.4.2
or Java 1.5 on the Intel based Mac. Any insight on how to use a CoreAudio
IO proc without crashing would be much appreciated.
Model: MacBookPro1,1, BootROM MBP11.0044.B02, 2
processors, Intel Core Duo, 1.83 GHz, 1 GB Graphics: ATI Radeon X1600,
ATY,RadeonX1600, PCIe, 128 MB Memory Module: DIMM0/BANK 0, 512 MB, DDR2
SDRAM, 667 MHz Memory Module: DIMM1/BANK 1, 512 MB, DDR2 SDRAM, 667
MHz AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86),
0.1.12 Bluetooth: Version 1.7.2f10, 2 service, 0 devices, 1 incoming serial
ports Network Service: AirPort, AirPort, en1 PCI Card: ethernet,
sppci_ethernet, Airport Serial ATA Device: TOSHIBA MK8032GSX, 74.53
GB Parallel ATA Device: MATSHITADVD-R UJ-857 USB Device:
Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA USB Device: Apple Internal
Keyboard / Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA USB Device:
Bluetooth HCI, Up to 12 Mb/sec, 500 mA USB Device: IR Receiver, Apple
Computer, Inc., Up to 12 Mb/sec, 500 mA
Subject: CoreAudio.jar, AudioDeviceIOProc and
ADevicePropertyListener
My java app uses the CoreAudio API via CoreAudio.jar and works perfectly
on PPC. However, on Intel, the application crashes whenever my code
gets a callback from CoreAudio for an IOProc (audio capture) or a property
listener (volume change)
Forward method calls from java continue to
work perfectly on both platforms. It is only the callbacks that blow
up.
Am I right in expecting the CoreAudio API to work the same (via Java)
whether on PPC or Intel?
Any advice on how I can modify my code such
that callbacks on the following interfaces work on both
platforms? com.apple.audio.hardware.ADevicePropertyListener; com.apple.audio.hardware.AudioDeviceIOProc;
Thanks, Bryan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden