;
; Traktor Audio 2 MK2 Audio Driver Setup Information file
; Copyright (c) 2014 Native Instruments GmbH
;

[Version]
Signature="$WINDOWS NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%ManufacturerName%
DriverVer=04/01/2015,4.2.0.99
CatalogFile=nita2m2audio.cat

[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
nita2m2audio.sys = 1

[Manufacturer]
%ManufacturerName%=Standard,NTx86

[Standard.NTx86]
%MediaDevice.Desc%=MediaDevice, NIUSB_ENUM\NITA2MK2_AUDIO

[DestinationDirs]
MediaDevice.CopyList = 10,System32\Drivers

[MediaDevice.NT]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles=MediaDevice.CopyList
AddReg=MediaDevice.AddReg
AddProperty=MediaDevice.AddProperty

[MediaDevice.CopyList]
nita2m2audio.sys

[MediaDevice.NT.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,"Wave",MediaDevice.Wave
AddInterface=%KSCATEGORY_RENDER%,"Wave",MediaDevice.Wave
AddInterface=%KSCATEGORY_CAPTURE%,"Wave",MediaDevice.Wave
AddInterface=%KSCATEGORY_AUDIO%,"Topology",MediaDevice.Topo

[MediaDevice.AddReg]
HKR,,AssociatedFilters,,"wdmaud"
HKR,,Driver,,nita2m2audio.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,,%WaveDevice.Desc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%MixerDevice.Desc%

; WDM Media names
; Device
HKLM,%MediaCategories%\{0DB09D35-6E39-453E-A00D-C027A3E1C3F2},Name,,%MediaDevice.Name%

;  Audio Inputs

;  Audio Outputs
HKLM,%MediaCategories%\{4144DEE7-11C8-431f-BEEF-211BE7B1853A},Name,,"Main"
HKLM,%MediaCategories%\{188FD49B-806E-43cb-B205-33FA14E53681},Name,,"Headphone"

[MediaDevice.Wave]
AddReg=MediaDevice.Wave.AddReg

[MediaDevice.Wave.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WaveDevice.Name%


[MediaDevice.Topo]
AddReg=MediaDevice.Topo.AddReg

[MediaDevice.Topo.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%MixerDevice.Name%

[MediaDevice.AddProperty]
DeviceVendorWebSite,,,,"http://www.native-instruments.com"
DeviceBrandingIcon,,,,"%1%\nita2m2audio.sys,-100

[MediaDevice.NT.Services]
AddService=nita2m2audio,0x00000002,MediaDevice.AddService

[MediaDevice.AddService]
DisplayName    = %MediaDevice.Desc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\nita2m2audio.sys
LoadOrderGroup = Base

[Strings]
ManufacturerName = "Native Instruments"
MediaDevice.Desc = "Traktor Audio 2 MK2 WDM Audio"
MediaDevice.Name = "Traktor Audio 2 MK2"
WaveDevice.Desc  = "Traktor Audio 2 MK2 Wave"
WaveDevice.Name  = "Traktor Audio 2 MK2 Audio"
MixerDevice.Desc = "Traktor Audio 2 MK2 Mixer"
MixerDevice.Name = "Traktor Audio 2 MK2"
DiskName         = "Traktor Audio 2 MK2 installation CD"

Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
