All API calls are now consolidated in AudioObject* calls, the old model has been deprecated in 10.6. Follow that change.
This adds a new module for CoreAudio device detection. It registers a callback to detect hotplugged devices and creates/destroys modules named 'module-coreaudio-device'. Devices are identified via a system-wide unique AudioDeviceID.