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?