Re: App hangs after getting DefaultAudioDevices
Re: App hangs after getting DefaultAudioDevices
- Subject: Re: App hangs after getting DefaultAudioDevices
- From: Bill Stewart <email@hidden>
- Date: Thu, 24 Jan 2002 17:17:09 -0800
There will shortly be a release of a Java Update that will contain several
things of interest:
(1) Fixes in Java that mean that CAJava will work correctly in all Cocoa
Java situations
(2) Some substantially performance fixes in CAJava, particularly related to
audio and MIDI callbacks (as used by the HAL and MIDI-In calls, AU Render
callbacks) and some overall improvements to resource usage.
I think the problem you're seeing maybe related to the busted interactions
between Java and Cocoa that we believe is fixed with the update. A good way
to verify this is to take that code and run it in a java.awt app.. Several
examples in CoreAudio/Examples/Java get the default device and it works fine
Bill
on 23/1/02 9:37 PM, Rolley wrote:
>
Arrrgh,
>
>
I am stuck on this ?&* bug : after any call that give either the
>
DefaultInputDevice or DefaultOutputDevice or getAudioDevices, my
>
application freezes. What I get with getAudioDevices() is that the only
>
AudioDevice I have is the built-in-controller. Is that ok ?
>
>
Hum, this is quite strange cos the same code in Obj-C works ! Argh, my joy
>
of mixing Cocoa and Java has gotten quite low. But then I don't have the
>
time to learn Obj-C right now... but if you know of a good online
>
reference (or tutorial) for Obj-C let me know.
>
>
Oh and by the way if you have the solution to my problem...
>
>
thx
>
Rolley
>
_______________________________________________
>
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
__________________________________________________________________________
"We'll talk about it later...."
"When?"
"In a future life when we're both cats"
__________________________________________________________________________