[wdmaudiodev] Virtual Soundcard Installation Issue

  • From: "John Rennemeyer" <john@xxxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Fri, 13 Oct 2006 12:39:46 -0600

Hi, I have a virtual soundcard driver that works on XP and can install on
Vista.  The problem is that since it creates multiple virtual soundcards, on
Vista, they all end up having the same name and it is hard to determine
which is which (XP does not have this problem).  I wrote code to reassign
them after the fact using a c# console application, but due to security
issues (not even an admin can change those registry keys programmatically) I
need to know if my inf file can be modified to accomplish the correct naming
of each virtual soundcard.

 

Posted below is my inf file for hopeful modification:

 

[Version]

Signature="$CHICAGO$"

Class=MEDIA

Provider="Design"

ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}

DriverVer = 05/22/2006, 4.2.0.2

 

[Manufacturer]

"Design"=_Design,NTamd64,NTia64

 

[_Design]

%DeviceName%=VAC,,Design_VAC_WDM_jrm

 

[_Design.NTamd64]

%DeviceName%=VAC,,Design_VAC_WDM_jrm

 

[_Design.NTia64]

%DeviceName%=VAC,,Design_VAC_WDM_jrm

 

;#####################################################################

;

; 2k+ Installation

; ================

;

;#####################################################################

 

[VAC.NT]

Include=ks.inf,wdmaudio.inf

Needs=KS.Registration, WDMAUDIO.Registration

CopyFiles=VAC.CopyList

AddReg=VAC.AddReg

 

[VAC.NT.Interfaces]

AddInterface=%KSCATEGORY_AUDIO%,"Topology1",VAC.I.Topo1

AddInterface=%KSCATEGORY_AUDIO%,"Wave1",VAC.I.Wave1

AddInterface=%KSCATEGORY_CAPTURE%,"Wave1",VAC.I.Wave1

AddInterface=%KSCATEGORY_RENDER%,"Wave1",VAC.I.Wave1

 

AddInterface=%KSCATEGORY_AUDIO%,"Topology2",VAC.I.Topo2

AddInterface=%KSCATEGORY_AUDIO%,"Wave2",VAC.I.Wave2

AddInterface=%KSCATEGORY_CAPTURE%,"Wave2",VAC.I.Wave2

AddInterface=%KSCATEGORY_RENDER%,"Wave2",VAC.I.Wave2

 

 

[VAC.NT.Services]

AddService=DesignVirtualAudioCableWdm_jrm,0x2,VAC_Service_Inst

 

[VAC_Service_Inst]

DisplayName=%DeviceName%

ServiceType=%SERVICE_KERNEL_DRIVER%

StartType=%SERVICE_DEMAND_START%

ErrorControl=%SERVICE_ERROR_NORMAL%

ServiceBinary=%12%\vacjrmkd.sys

 

 

;#####################################################################

;

; Common registry data

; ====================

;

;#####################################################################

 

[VAC.AddReg]

HKR,,AssociatedFilters,,"wdmaud,redbook"

HKR,,Driver,,vacjrmkd.sys

HKR,,NTMPDriver,,"vacjrmkd.sys,sbemul.sys"

HKR,Drivers,SubClasses,,"wave,mixer"

HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv

HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv

HKR,Drivers\wave\wdmaud.drv,Description,,%DeviceName%

HKR,Drivers\mixer\wdmaud.drv,Description,,%DeviceName%

 

[VAC.I.Topo1]

AddReg=VAC.I.Topo1.AddReg

 

[VAC.I.Topo1.AddReg]

HKR,,CLSID,,%Proxy.CLSID%

HKR,,FriendlyName,,"Virtual Cable 1 Mixer"

 

[VAC.I.Wave1]

AddReg=VAC.I.Wave1.AddReg

 

[VAC.I.Wave1.AddReg]

HKR,,CLSID,,%Proxy.CLSID%

HKR,,FriendlyName,,"Virtual Cable 1"

 

[VAC.I.Topo2]

AddReg=VAC.I.Topo2.AddReg

 

[VAC.I.Topo2.AddReg]

HKR,,CLSID,,%Proxy.CLSID%

HKR,,FriendlyName,,"Virtual Cable 2 Mixer"

 

[VAC.I.Wave2]

AddReg=VAC.I.Wave2.AddReg

 

[VAC.I.Wave2.AddReg]

HKR,,CLSID,,%Proxy.CLSID%

HKR,,FriendlyName,,"Virtual Cable 2"

 

;#####################################################################

;

; Files

; =====

;

;#####################################################################

 

[SourceDisksNames]

222=%DiskName%,"",222

 

[SourceDisksFiles.x86]

vacjrmkd.sys=222,\i386

 

[SourceDisksFiles.amd64]

vacjrmkd.sys=222,\amd64

 

[SourceDisksFiles.ia64]

vacjrmkd.sys=222,\ia64

 

[DestinationDirs]

VAC.CopyList=10,system32\drivers

 

[VAC.CopyList]

vacjrmkd.sys

 

;#####################################################################

;

; Strings

; =======

;

;#####################################################################

 

[Strings]

DeviceName="Virtual Cable"

DiskName="Virtual Cable Driver Disk"

 

KSCATEGORY_AUDIO=    "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"

KSCATEGORY_CAPTURE=  "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"

KSCATEGORY_RENDER=   "{65E8773E-8F56-11D0-A3B9-00A0C9223196}"

KSCATEGORY_TOPOLOGY= "{DDA54A40-1E4C-11D1-A050-405705C10000}"

 

Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

 

SERVICE_KERNEL_DRIVER=1

SERVICE_DEMAND_START=3

SERVICE_ERROR_NORMAL=1

 

Thank you,

 

John 

 

Other related posts:

  • » [wdmaudiodev] Virtual Soundcard Installation Issue