Re: Execption using JDIC Misc (v0.1.3) Volume on MacOSX
Re: Execption using JDIC Misc (v0.1.3) Volume on MacOSX
- Subject: Re: Execption using JDIC Misc (v0.1.3) Volume on MacOSX
- From: Jeff Moore <email@hidden>
- Date: Wed, 15 Nov 2006 11:01:39 -0800
2003332927 == 'who?' == kAudioHardwareUnknownPropertyError
This means that you are asking about a volume control that the device
doesn't have. Note that this is expected behavior as not all devices
have volume controls and the ones that do don't necessarily have them
for the same channels.
On Nov 15, 2006, at 9:05 AM, Rollo, Dan wrote:
Not sure if I'm using way out of date files, etc. I'm trying to use
the
JDIC (https://jdic.dev.java.net/) Volume control from
"misc" (v0.1.3) on
MacOSX (v10.4.8) on jdk1.5.0_06. I'm getting the error below:
os name = Mac OS X
creating mac dock menu
unable to get the volume
2003332927
com.apple.audio.CAException[JCoreAudio:1.3.011],
2003332927=kAudioHardwar
eUnknownPropertyError
at com.apple.audio.CAException.checkError(CAException.java:60)
at
com
.apple.audio.hardware.AudioDevice.getOutputProperty(AudioDevice.java:
472)
at org.jdesktop.jdic.misc.impl.MacOSXVolume.getVolume(Unknown
Source)
at org.jdesktop.jdic.misc.impl.MacOSXVolume.<init>(Unknown
Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun
.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
at
sun
.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.jdesktop.jdic.misc.Volume.loadMac(Unknown Source)
at org.jdesktop.jdic.misc.Volume.newInstance(Unknown Source)
All I've done is add the jdic_misc.jar file to my classpath (do I need
any other jdic jars and/or any native libs?)
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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