UAudioSubsystemCollectionRoot::GetAudioDeviceID

Get the ID of the owning audio device