;Copyright (c) 1998-2000 Microsoft Corporation All rights Reserved
;
;Module Name:
;   ac97smpl.INF
;
;Abstract:
;    INF file for installing AC97 WDM Sample Driver
;
;
; During upgrade from Win98SE or Win ME, the default upgrade behavior won't upgrade the drivers 
; to Win2k or Windows XP. The sample inf has implemented what's mentioned in 
; WINDDK\..\src\setup\devupgrd\devupgrd.doc.
; If your driver would never be installed under Win98SE or Win ME, you don't need this new migrate.dll
; stuff.



[Version]
Signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
provider=%ProviderName%
;;The following line is used only when the INF comes with the Windows system
;;IHV needs to comment out the following line for their OEM redistributed disk.
;;LayoutFile=layout.inf, layout1.inf, layout2.inf
DriverVer=10/18/2023,6.00.6001.0
CatalogFile.NTX86=FiiOUUAC.cat
CatalogFile.NTAMD64=FiiOUA64.cat

;You must specify which platform is supported by each SourceDisksNames section
;Valid platform identifiers include .x86, .ia64, .alpha, .axp64
[SourceDisksNames]
222=%DiskDescription%,,,


;You must also specify which platform is supported by each SourceDisksFiles section
;Valid platform identifiers include .x86, .ia64, .alpha, .axp64
[SourceDisksFiles]
FiiOUUAC.sys=222
;the entries below are used by the device migration dll, on Win95/98 to Win2K upgrades
;Migrate.dll=222
;FiiOUUAC.inf=222

[SourceDisksFiles.x86]
FiiOUUAC.sys=222,i386

[SourceDisksFiles.amd64]
FiiOUUAC.sys=222,amd64


[Manufacturer]
%MfgName%=FiiO, NTAMD64

;; Excluding drivers from the "Add New Hardware" list.
[ControlFlags]
ExcludeFromSelect = *


[FiiO]
%FiiOUUAC.DeviceDesc%=FiiOUUAC, USB\VID_2972&PID_0092&MI_01

[FiiO.NTAMD64]
%FiiOUUAC.DeviceDesc%=FiiOUUAC, USB\VID_2972&PID_0092&MI_01

[DestinationDirs]
FiiOUUAC.CopyList=10,system32\drivers


[FiiOUUAC]
;;This inf is intended for use by IHV. So, it is going to be used as from OEM distributed disk
;;This is why AlsoInstall got used instead if Needs & Include
;;AlsoInstall=KS.Registration(ks.inf), WDMAUDIO.Registration(wdmaudio.inf)
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
;;CopyFiles=FiiOUUAC.CopyList, WDMDriver_Files
CopyFiles=FiiOUUAC.CopyList
AddReg=FiiOUUAC.AddReg,BvoHdUAC_OEM.AddReg
;;Exclude driver installation for those PnP ID's.
;;This PnP ID is an example of a machine where the driver won't work correctly
;ExcludeId=PCI\VEN_8086&DEV_2415&SUBSYS_536011D4&REV_00

[FiiOUUAC.CopyList]
FiiOUUAC.sys


[SignatureAttributes]
FiiOUUAC.sys=SignatureAttributes.DRM

[SignatureAttributes.DRM]
DRMLevel=1300


[FiiOUUAC.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,FiiOUUAC.Interface.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,FiiOUUAC.Interface.Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,FiiOUUAC.Interface.Wave
AddInterface=%KSCATEGORY_AUDIOCONTROL%,%KSNAME_Wave%,FiiOUUAC.Interface.Wave


[FiiOUUAC.Interface.Wave]
AddReg=FiiOUUAC.I.Wave.AddReg

[FiiOUUAC.I.Wave.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%FiiOUUAC.Wave.szPname%


[FiiOUUAC.AddReg]
HKR,,SetupPreferredAudioDevices,3,01,00,00,00
HKR,,AssociatedFilters,,"wdmaud,redbook"
HKR,,Driver,,FiiOUUAC.sys
HKR,,NTMPDriver,,"FiiOUUAC.sys,sbemul.sys"

HKR,Drivers,SubClasses,,"wave,midi,aux"

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

HKR,Drivers\wave\wdmaud.drv,Description,,%FiiOUUAC.DeviceDesc%
HKR,Drivers\midi\wdmaud.drv, Description,,%FiiOUUAC.DeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%FiiOUUAC.DeviceDesc%


[FiiOUUAC.Services]
AddService = FiiOUUAC, 0x00000002, BvoHdUAC_Service_Inst

[BvoHdUAC_Service_Inst]
DisplayName   = %FiiOUUAC.SvcDesc%
ServiceType   = 1                  ; SERVICE_KERNEL_DRIVER
StartType     = 3                  ; SERVICE_DEMAND_START
ErrorControl  = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\system32\drivers\FiiOUUAC.sys

[BvoHdUAC_NAMES.AddReg]
;; Nodes

;; Pins


[BvoHdUAC_OEM.AddReg]
;;Default register value at driver startup
;;Uncomment some one of the lines if you want to overwrite the default setting
;;The value in these outcommented lines is the driver default. You can change
;;the register values (and uncomment the line) to overwrite the driver default.
;;low byte comes first, values are hexadezimal.
;HKR,Settings,MasterVolume,1,0,0        ;0dB
;HKR,Settings,HeadphoneVolume,1,0,0     ;0dB
;HKR,Settings,MonooutVolume,1,0,0       ;0dB
;HKR,Settings,ToneControls,1,F,F        ;bypass
;HKR,Settings,BeepVolume,1,0,0          ;0dB
;HKR,Settings,PhoneVolume,1,8,80        ;muted
;HKR,Settings,MicVolume,1,8,80          ;muted
;HKR,Settings,LineInVolume,1,8,8        ;0dB
;HKR,Settings,CDVolume,1,8,8            ;0dB
;HKR,Settings,VideoVolume,1,8,8         ;0dB
;HKR,Settings,AUXVolume,1,8,8           ;0dB
;HKR,Settings,WaveOutVolume,1,8,8       ;0dB. This register is never touched by the system.
;HKR,Settings,RecordSelect,1,4,4        ;select LiniIn
;HKR,Settings,RecordGain,1,0,0          ;0dB
;HKR,Settings,RecordGainMic,1,0,0       ;0dB
;HKR,Settings,GeneralPurpose,1,0,0      ;pre 3D, 3D off, loudness off, mono=mix, mic1
;HKR,Settings,3DControl,1,0,0           ;0%
;HKR,Settings,PowerDown,1,0,0           ;no power down
;HKR,Settings,ExtAudioCtrl,1,01,40      ;VRA, DACs on, MicIn off
;HKR,Settings,CenterLFEVolume,1,0,0     ;0dB
;HKR,Settings,SurroundVolume,1,0,0              ;0dB

;;Configuration
;;You can disable some of the input lines by outcommenting some of the lines
;;below. This could be necessary if you have a AC97 codec on board that for
;;example supports Video input, but you dont have the Video input accessable
;;for the user (no plug in).
;HKR,Settings,DisablePCBeep,1,1
;HKR,Settings,DisablePhone,1,1
;HKR,Settings,DisableMic2,1,1
;HKR,Settings,DisableVideo,1,1
;HKR,Settings,DisableAUX,1,1
;HKR,Settings,DisableHeadphone,1,1
;HKR,Settings,DisableMonoOut,1,1
;HKR,Settings,DisableMicIn,1,1
;HKR,Settings,DisableMic,1,1            ;disables all MIC lines, including MIC record.
;HKR,Settings,DisableLineIn,1,1
;HKR,Settings,DisableCD,1,1
;HKR,Settings,DisableSurround,1,1
;HKR,Settings,DisableCenterLFE,1,1       ;6ch playback is not supported.
;;HKR,Settings,ChannelConfig,1,3,0,0,0   ;ChannelConfig set to stereo speakers.
;;HKR,Settings,DacVol_0,0x10001,0xFFFA0000,0xFFFA0000
;;HKR,Settings,DacVol_1,0x10001,0xFFFA0000,0xFFFA0000
HKR,Settings,DacVol_0,0x10001,0x00000000,0x00000000
HKR,Settings,DacVol_1,0x10001,0x00000000,0x00000000
HKR,Settings,DacVol_2,0x10001,0x00000000,0x00000000
HKR,Settings,DacVol_3,0x10001,0x00000000,0x00000000
HKR,Settings,DacVol_4,0x10001,0x00000000,0x00000000
HKR,Settings,DacVol_5,0x10001,0x00000000,0x00000000
HKR,Settings,DacVol_6,0x10001,0x00000000,0x00000000
HKR,Settings,DacVol_7,0x10001,0x00000000,0x00000000

;;================= Windows NT ====================
[FiiOUUAC.NTX86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
CopyFiles=FiiOUUAC.CopyList
;;AddReg=FiiOUUAC.AddReg,BvoHdUAC_NAMES.AddReg,BvoHdUAC_OEM.AddReg
AddReg=FiiOUUAC.AddReg,BvoHdUAC_OEM.AddReg
;;Exclude driver installation for those PnP IDs.
;;This PnP ID is an example of a machine where the driver wont work correctly
;;ExcludeId=PCI\VEN_8086&DEV_2415&SUBSYS_536011D4&REV_00

[FiiOUUAC.NTX86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,FiiOUUAC.Interface.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,FiiOUUAC.Interface.Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,FiiOUUAC.Interface.Wave
AddInterface=%KSCATEGORY_AUDIOCONTROL%,%KSNAME_Wave%,FiiOUUAC.Interface.Wave

[FiiOUUAC.NTX86.Services]
AddService = FiiOUUAC, 0x00000002, BvoHdUAC_Service_Inst


[FiiOUUAC.NTAMD64]
;;This inf is intended for use by IHV. So, it's going to be used as from OEM distributed disk
;;This is why AlsoInstall got used instead if Needs & Include
;;AlsoInstall=KS.Registration(ks.inf), WDMAUDIO.Registration(wdmaudio.inf)
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles=FiiOUUAC.CopyList
;;AddReg=FiiOUUAC.AddReg,BvoHdUAC_NAMES.AddReg,BvoHdUAC_OEM.AddReg
AddReg=FiiOUUAC.AddReg,BvoHdUAC_OEM.AddReg
;;KnownRegEntries=AC97.KnownRegEntries
;;Exclude driver installation for those PnP IDs.
;;This PnP ID is an example of a machine where the driver wont work correctly
;;ExcludeId=PCI\VEN_8086&DEV_2415&SUBSYS_536011D4&REV_00

[FiiOUUAC.NTAMD64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,FiiOUUAC.Interface.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,FiiOUUAC.Interface.Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,FiiOUUAC.Interface.Wave
AddInterface=%KSCATEGORY_AUDIOCONTROL%,%KSNAME_Wave%,FiiOUUAC.Interface.Wave

[FiiOUUAC.NTAMD64.Services]
AddService = FiiOUUAC, 0x00000002, BvoHdUAC_Service_Inst


[Strings]
ProviderName="FiiO"
MfgName="FiiO"
DiskDescription="FiiOUSBAudioDrivers USB Audio Driver Disk "
FiiOUUAC.DeviceDesc="FiiOUSBAudioDrivers USB Audio Device"

FiiOUUAC.Wave.szPname="FiiOUSBAudioDrivers USB Audio Sound"
;;AC97SMPL.Topology.szPname="AC'97 Mixer"

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"

Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_AUDIOCONTROL="{0AFD8521-05EE-400e-9011-9F660A2B12F0}"
KSNAME_Wave="GLOBAL"

KSNODETYPE_ANY = "{00000000-0000-0000-0000-000000000000}"
PKEY_AudioEndpoint_Association = "{1DA5D803-D492-4EDD-8C23-E0C0FFEE7F0E},2"
PKEY_AudioEngine_OEMFormat = "{E4870E26-3CC5-4CD2-BA46-CA0A9A70ED04},3"
PKEY_AudioEndpoint_Supports_EventDriven_Mode = "{1DA5D803-D492-4EDD-8C23-E0C0FFEE7F0E},7"

FiiOUUAC.SvcDesc = "Service for FiiOUSBAudioDrivers USB Audio (WDM)"

;; Nodes (non-localizeable)

;; Pins

;; Nodes (localizeable)

;; Pins








































