Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Execption using JDIC Misc (v0.1.3) Volume on MacOSX



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: http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden
References: 
 >Execption using JDIC Misc (v0.1.3) Volume on MacOSX (From: "Rollo, Dan" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.