Re: CoreAudio and Vendor ID and Product ID of a sound device
Re: CoreAudio and Vendor ID and Product ID of a sound device
- Subject: Re: CoreAudio and Vendor ID and Product ID of a sound device
- From: Brian Willoughby <email@hidden>
- Date: Wed, 14 Oct 2015 10:29:11 -0700
Hey Matthias,
What is your final goal, in terms of a feature that an end user would need?
Are you trying to allow the user to select an audio device for sound input/output (i.e. separate from the default audio device for iTunes and all other applications)?
Are you trying to alter your code's treatment of the audio for unique treatment based on the identity of the attached sound device?
Is there some other specific feature that you hope to provide by obtaining the VID/PID of the USB or PCI device?
The reason I ask is that usually Apple has already provided a solution for your final desired feature, such that you may not need the elaborate solution you're attempting. I think that if you explain to the list what your user needs to do, and what your final desired outcome would be in terms of a useful feature, then there might be an easier solution that could be suggested. Or, maybe you're using certain CoreAudio features and you find that it's only a partial solution because something is missing, so if you describe what's missing then we may be able to fill in the gaps.
Sincerely,
Brian Willoughby
Sound Consulting
On Oct 14, 2015, at 7:31 AM, Matthias Hänel <email@hidden> wrote:
> My newest topic to detect and identify attached sound cards correctly.
> The only way to do this to have a unique ID and a list with known IDs
> for special handling. On Windows it is made through a DirectX. It was also a pain there ;)
>
>
> What do I have?
> I have an AudioUnit object and an AudioDeviceID.
>
> What do I want?
> I would like to get the USB/PCI vendor id and product id.
>
_______________________________________________
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