EMU-driver icon indicating copy to clipboard operation
EMU-driver copied to clipboard

HAL bundle?

Open Wouter1 opened this issue 10 years ago • 3 comments

In old versions of this extension, there was a HAL bundle

Do we need this?

Wouter1 avatar Dec 11 '14 20:12 Wouter1

This code never triggered, Therefore it was removed a long time ago

Wouter1 avatar Dec 11 '14 20:12 Wouter1

In the Audio Device Driver Programming Guide of Apple, I read this

Sometimes you might have an audio device with properties that are not covered by what the Audio HAL specifies. For these situations, you can create a bundle that contains code implementing these device-specific properties on behalf of the Audio HAL. Then you can put this bundle in a location where it can be exported to user space. ... When a driver changes a property, it calls one of two ntification callbacks implemented by clients to notify them

When you have created a bundle, you usually install it inside your driver's kernel extension in /System/Library/Extensions.

HAL finds the bundle by looking in the I/O registry for two keys: kIOAudioEngineCoreAudioPlugInKey and kIOAudioDeviceLocalizedBundleKey

Wouter1 avatar Dec 11 '14 21:12 Wouter1

The key kIOAudioEngineCoreAudioPlugInKey is actually still set in EMUUSBAudioDevice.

Wouter1 avatar Dec 11 '14 21:12 Wouter1