A sample serial wave driver INF file is in the MDK, SMPWRAP.INF. You can include this file on your modem installation diskette with few, if any, changes. Each of the sections that contain items you may want to change are discussed in the following.
[MSWRAPPER.AddReg]
.
.
.
;; information about the Wave Driver being wrapped
HKR,Config,LowerMid,1, 5c, 00
HKR,Config,LowerWaveInPid,1, 81, 00
HKR,Config,LowerWaveOutPid,1, 82, 00
Use the values of the LowerMid, LowerWaveInPid, and LowerWaveOutPid keys to specify the audio wave driver the wave wrapper is using. The LowerMid value is the wave driver manufacturer's ID, the LowerWaveInPid value is the wave input product ID, and the LowerWaveOutPid is the wave output product ID.
You may also want to change one of more of the following entries in the [MSWRAPPER.AddReg] section:
HKR,Config,WaveOutMixerDest, 1, 00, 00, 00, 00
HKR,Config,WaveOutMixerSource, 1, 00, 00, 00, 00
HKR,Config,WaveInMixerDest, 1, 01, 00, 00, 00
HKR,Config,WaveInMixerSource, 1, 00, 00, 00, 00
The wave wrapper has a mixer device. These entries connect the wave wrapper mixer device to the wave driver mixer. The wave wrapper mixer will control the wave driver mixer while the wave wrapper is loaded. When the wave wrapper is not loaded, the wave driver mixer settings are set back to their original settings.
Use the value in the WaveOutMixerDest key to indicate the multimedia line that wave out goes to; normally, this is the speakers. Use the value in the WaveOutMixerSource key to indicate the multimedia line used as the source relative to WaveOutMixerDest; normally this is the ADC.
Use the value in the WaveInMixerDest key to indicate the multimedia line corresponding to wave in. Use the value in the WaveInMixerSource key to indicate the multimedia line used as the source relative to WaveInMixerDest; normally this is line in or wave in.
There other items in the SMPWRAP.INF file that are of interest only because they indicate SMPWRAP.INF is a wave device INF file and not a modem device INF file.
[Version]
Signature="$Windows95$"
Class=MEDIA
provider=%MSFT%
[ClassInstall]
Addreg=Class.AddReg
[Class.AddReg]
HKR,,,,%MediaClassName%
HKR,,Icon,,"-1"
HKR,,Installer,,mmci.dll
[MSWRAPPER.AddReg]
HKR,,DevLoader,,mmdevldr.vxd
HKR,Drivers,MIGRATED,,0
HKR,Drivers\wave,,,
HKR,,Driver,,serwave.vxd
HKR,Drivers\wave\tamwrap.drv,Description,,%Wavewrap.DeviceDesc%
HKR,Drivers\wave\tamwrap.drv,Driver,,wavewrap.drv
HKR,Drivers,SubClasses,,"wave"