• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to uniquely identify audio device
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to uniquely identify audio device


  • Subject: Re: How to uniquely identify audio device
  • From: "B.J. Buchalter" <email@hidden>
  • Date: Wed, 19 Dec 2007 00:17:31 -0500


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.

Best regards,

B.J. Buchalter
Metric Halo
http://www.mhlabs.com
	


_______________________________________________ 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
  • Follow-Ups:
    • Re: How to uniquely identify audio device
      • From: Lorenzo Thurman <email@hidden>
References: 
 >How to uniquely identify audio device (From: Lorenzo Thurman <email@hidden>)
 >Re: How to uniquely identify audio device (From: "B.J. Buchalter" <email@hidden>)
 >Re: How to uniquely identify audio device (From: Lorenzo Thurman <email@hidden>)

  • Prev by Date: Re: How to uniquely identify audio device
  • Next by Date: Re: How to uniquely identify audio device
  • Previous by thread: Re: How to uniquely identify audio device
  • Next by thread: Re: How to uniquely identify audio device
  • Index(es):
    • Date
    • Thread