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: Matthias Hänel <email@hidden>
- Date: Thu, 15 Oct 2015 09:29:42 +0200
Hey Brian,
thanks for your fast answer.
You are right Apple almost delivers an option for the final solution :)
I am quite sure there is not.
The main goal of this procedure is to setup the sound device settings
without user interaction. Some or even many sound devices come with more than one stereo channel.
This setting is not always correctly detected by Core Audio. The user has to go to
"Audio-MIDI-Setup" and has to select the correct Output-Mode like "quadrophonic" or higher.
I know that I can force this setting by software and therefore I have to know which sound device
is attached. Well, we have to have a big list with VID/PID and speaker-modes, but that would be
sufficient even for native supported soudn devices and MIDI controllers.
regards
Matthias
--
Matthias Hänel
Geschäftsführer/ Managing Director
------------------------------------------------------------------------
UltraMixer Digital Audio Solutions
Am Waldschlößchen 2
01099 Dresden
-------------------------------------------------------------------------
email@hidden http://www.ultramixer.com
> Am 14.10.2015 um 19:29 schrieb Brian Willoughby <email@hidden>:
>
> 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