Ports
May 25, 2013, 06:59:04 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Pages: [1]
  Print  
Author Topic: problem wich same name devices  (Read 2103 times)
loolyn
Member
*
Posts: 1


« on: August 02, 2011, 06:37:25 am »

Hi All.

Here is my situation. I have two USB devices and they have the same name which is USB Audio Device. Each device consists of
a headset and a microphone.
As far as both devices have the same name, in my application I have decided to have two combo boxes, one for microphone and one for headset and shows the devices in those combo boxes as "USB Audio Device" and "USB Audio Device (2)" and give the user an opportunity to choose which microphone and headset does he/she want to use.
However I have the following problem. I need to guarantee that if the user chooses "USB Audio Device (2)" for microphone and "USB Audio Device (2)" for headset they are the microphone and headset of the same USB device. However I do not find any means to identify that the enumerated microphone and headset are belonging to the same usb device, so that I can put "(2)" near exactly those devices.

Please if you understood my problem and have any solution, please help.

Regards.
Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1631


WWW
« Reply #1 on: August 02, 2011, 09:14:25 pm »

If one device has the default headset and mic, perhaps you can use that information somehow?

Jan
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!