;==============================================================================
; TerraTec Cinergy 200/250 USB (Audio)
; Driver Install Script
; Copyright (c) 2003-04, TerraTec Electronic GmbH
;------------------------------------------------------------------------------
; Notes:
;  a) Driver filenames must be <= 8 characters (8.3 format) !
;  b) Win9x: On Windows 98/Me, section names should be no longer than 28 characters.
;  c) Win9x: [SourceDisksNames] must always come before [SourceDisksFiles]  !!!   
;  d) Win9x: Filenames must be in 8.3 format  !              
;  e) Win9x: Registry pathes must use single slashes
;  f) [xxx.KnownFiles] sections are used by Win9x only
;  g) [xxx.Services] sections are used by WinNT only
;  h) If we have OS specific DDInstall sections we must have 
;     OS specific [xxx.Interfaces] and [.HW] also!


; History:
;------------------------------------------------------------------------------
; 13-Oct-03 First driver version 
; 07-Apr-04 New driver versions
; 13-Apr-04 v.1.1.0413
; 30-Apr-04 v.1.1.0428
; 24-May-04 v.1.1.0521.0
; 08-Jul-04 v.1.1.0708 
;==============================================================================
;------------------------------------------------------------------
;
;   EMAUDIO.INF -- This file contains installation information
;                  for eMPIA USB 2.0 Audio Devices:  EM2801,
;                  EM2821 and EM2841.
;
;      
;   This installation is for Windows 2000 and XP.
;
;   Copyright (C) eMPIA Technology, Inc.  2002-2004
;
;------------------------------------------------------------------
[Version]
Signature   = "$CHICAGO$"
Class       = MEDIA
ClassGUID   = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider    = %Vendor%
CatalogFile = TT003601.cat
DriverVer   = 07/08/2004, 1.1.0708.0

[SourceDisksNames]
1 = %DiskLabel%,emAudio.sys,,

[SourceDisksFiles]
emAudio.sys  = 1

[Manufacturer]
%Vendor%=Model

[Model]
;%emAudio.DeviceDesc%=emAudio, USB\CLASS_01
%emAudio.DeviceDesc%=emAudio, USB\VID_EB1A&PID_2801&MI_01
%emAudio.DeviceDesc%=emAudio, USB\VID_EB1A&PID_2821&MI_01
; Cinergy 200 USB (2820 PAL)
%emAudio.DeviceDesc%=emAudio, USB\VID_0CCD&PID_0036&MI_01
; Cinergy 200 USB (2820 SECAM)
%emAudio.DeviceDesc%=emAudio, USB\VID_0CCD&PID_0037&MI_01

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

;======================================================
; DEVICE
;======================================================

[emAudio]
AlsoInstall= ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
CopyFiles  = emAudio.CopyList
AddReg     = emAudio.AddReg

[emAudio.CopyList]
emAudio.sys

[emAudio.Interfaces]
AddInterface = %KSCATEGORY_AUDIO%,      %KSNAME_Wave%,          emAudio.I.Wave
AddInterface = %KSCATEGORY_RENDER%,     %KSNAME_Wave%,          emAudio.I.Wave
AddInterface = %KSCATEGORY_CAPTURE%,    %KSNAME_Wave%,          emAudio.I.Wave
AddInterface = %KSCATEGORY_AUDIO%,      %KSNAME_Topology%,      emAudio.I.Topo
AddInterface = %KSCATEGORY_RENDER%,     %KSNAME_Topology%,      emAudio.I.Topo
AddInterface = %KSCATEGORY_CAPTURE%,    %KSNAME_Topology%,      emAudio.I.Topo


[emAudio.AddReg]
HKR,,AssociatedFilters,,"wdmaud"
HKR,,Driver,,emAudio.sys
HKR,,NTMPDriver,,"emAudio.sys"
;; HKR,,NTMPDriver,,"emAudio.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,,%emAudio.DeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%emAudio.DeviceDesc%
HKLM,%MediaCategories%\%emAudio.NameGuid%,Name,,%emAudio.Name%
HKLM,%Audio.Key%,"DeviceName",0,%emAudio.DeviceDesc%


[emAudio.I.Wave]
AddReg=emAudio.I.Wave.AddReg

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

[emAudio.I.Topo]
AddReg=emAudio.I.Topo.AddReg

[emAudio.I.Topo.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%emAudio.Topo.szPname%


[emAudio.NTX86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles = emAudio.CopyList
AddReg    = emAudio.AddReg


[emAudio.NTX86.Interfaces]
AddInterface    = %KSCATEGORY_AUDIO%,   %KSNAME_Wave%,          emAudio.I.Wave
AddInterface    = %KSCATEGORY_RENDER%,  %KSNAME_Wave%,          emAudio.I.Wave
AddInterface    = %KSCATEGORY_CAPTURE%, %KSNAME_Wave%,          emAudio.I.Wave
AddInterface    = %KSCATEGORY_AUDIO%,   %KSNAME_Topology%,      emAudio.I.Topo


[emAudio.NTX86.Services]
include         = wdmaudio.inf
needs           = wdmaudio.registration.services
AddService      = emAudio, 0x00000002, emAudio_Service_Inst


[emAudio_Service_Inst]
DisplayName     = %emAudio.DeviceDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %10%\system32\drivers\emAudio.sys

;======================================================
; STRINGS
;======================================================
[Strings]
;---------------
;Non-Localizable
;---------------
KSNAME_Wave          = "Wave"
KSNAME_Topology      = "Topology"
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}"
emAudio.NameGuid     = "{946A7B1A-EBBC-422a-A81F-F07C8D40D3B4}"
MediaCategories      = "SYSTEM\CurrentControlSet\Control\MediaCategories"
Audio.Key            = "Software\USB2800\Audio"

;---------------
;Localizable
;---------------
Vendor                  = "TerraTec Electronic GmbH"
DiskLabel               = "TerraTec Driver Disk"
emAudio.DeviceDesc      = "Cinergy 250 USB Audio"
; szPname max. 32 chars   "01234567890123456789012345678901"
emAudio.Topo.szPname    = "Cinergy 250 USB Topology"
emAudio.Wave.szPname    = "Cinergy 250 USB Audio"
emAudio_MIDI            = "Cinergy 250 USB MIDI"
emAudio.Name            = "Cinergy 250 USB Audio"


