But it looks like if its USB device (maybe firewire as well), the
UID will be different if the device is connected to another port.
This makes it a bit problematic, but I suppose I may have to rely on
the identifier string since a device can't change its name. Although
future versions of the same device might.
Firewire devices have real UIDs; you can rely on them. USB is another
story; I think if the device actually has a UID the Apple driver will
give you a back a UID that is useful, but most USB devices are not
uniquely serialized so the Apple driver provides as useful a UID as it
can -- which depends on the port. So if the device remains connected
on the same port the UID won't change between boots etc, but it is not
100% reliable if you move the device around.
As far as the name as an ID, this doesn't help you if the user has two
of the samd devices attached...
As I said, this is not the case for Firewire, where each device is
required to have a unique serial number. It would be a very broken
driver that did not provide a persistent UID or these devices. I know
that our driver for our FireWire devices does provide a persistent UID
for each of our units.
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden