Ok, thanks a lot.
That means I have to print these values out before in native code to
use them?
Am 01.04.2009 um 11:33 schrieb Timothy Wall:
Those are integer constants, sort of a mac-ism. The ASCII values
for the characters are combined to construct an integer value.
On Apr 1, 2009, at 4:24 AM, Andreas Rettig wrote:
Hi,
I'm still pretty new to JNA, but managed to build and understand
access to HID-Devices via Windows-API with it.
Now I'm trying my first steps into JNA and Mac OS X and I've
problems understanding how to work with the Mac OS X API.
How do I work with enums like that, that means how can I get these
Pointers out of, for example from CoreAudio...
enum
{
kAudioHardwarePropertyProcessIsMaster = 'mast',
kAudioHardwarePropertyIsInitingOrExiting = 'inot',
kAudioHardwarePropertyDevices = 'dev#',
kAudioHardwarePropertyDefaultInputDevice = 'dIn ',
kAudioHardwarePropertyDefaultOutputDevice = 'dOut',
kAudioHardwarePropertyDefaultSystemOutputDevice = 'sOut',
kAudioHardwarePropertyDeviceForUID = 'duid',
kAudioHardwarePropertyProcessIsAudible = 'pmut',
kAudioHardwarePropertySleepingIsAllowed = 'slep',
kAudioHardwarePropertyUnloadingIsAllowed = 'unld',
kAudioHardwarePropertyHogModeIsAllowed = 'hogr',
kAudioHardwarePropertyRunLoop = 'rnlp',
kAudioHardwarePropertyPlugInForBundleID = 'pibi',
kAudioHardwarePropertyUserSessionIsActiveOrHeadless = 'user'
};
What's happening there internally?