6
I am currently developing some software and am working with an audio related API which has an odd quirk, if a microphone and speaker have exactly the same name, the API fails to load them properly. In the case of my testing machine, they are both named "IDT Audio1", after the sound card. I realize the problem lies in the API, but in my experience the company responsible for it tends to be slow to respond to bug reports. So i'm looking for alternative workarounds in the meantime.
On windows 7 or vista the problem is easy to solve, simply go to control panel > audio and rename the devices. On XP there does not seem to be any way to do this. Quick googling tells me that it might be possible by editing the registry, but it seems to be speculation at best. So far I have been unable to change the name of either device, in spite of changing the key in
HKEY_USERS\S-1-5-21-1960408961-448539723-299502267-1003\Software\Microsoft\Multimedia\Sound Mapper
which seems to be the obvious choice.
Has anyone out there successfully done this?
There is no way to do this, unless you hack the registry as you are suggesting. I have found articles mentioning doing this but I haven't found any step-by-step instructions on how to rename the device. Part of the reason why is because the name of the location is considerably dynamic in the registry. I'd back up a copy of the above key, and then rename it. If it works, great! If not, do a rollback and restart. Try at your own risk. – RLH – 2011-08-09T19:42:58.663
1If reinstalling the drivers is an option, extract and edit the .inf, renaming the various components to suit, then reinstall. I've never done this, but what little I remember about device drivers and .INF files suggest the FriendlyName should come from there. – Robert Kerr – 2011-08-21T17:12:00.637