Any plans to release the source of this tool ?
I am interested in making some experiments regarding my issues with monkey island (I think they are related to the way VSR is initialized in the codec), but also about how volume control works.
For example, I have found that VIASBCFG /VXX seems to be setting BOTH the AC97 mixer as well as the virtualized SBPro mixer to the same level, but on my T5710 at least both mixers are
A) separate: they are not kept in sync, changes in one do not affect the other
B) accumulative , i.e. if I reduce the volume by 10% on both of them, I get 20% less volume total, not just 10% less
So by setting the same volume on both I think we are getting much lower output volume than should be.
Actually this was fixed in 0.12d , sorry for being obtuse.
/v and /vw go to the AC97 mixer, the rest go to SBPro mixer.
Also it would be useful to be able to set volume levels _without_ reinitializing the AC97 part, which confuses viafmtsr.
I already made a small Watcom C tool to set the AC97 / SBPro mixer settings separately but I've just tested it on my T5710. May release it if there's interest.
And another curiosity.
Looks like the VIA VXD drivers for Windows (95) rely on the SBPro emulation for DOS boxes (rather than SBEMUL.SYS like the WDM drivers),
so you need to run VIASBCFG before booting 95 (e.g. on AUTOEXEC.bat) if you use these and want audio in your DOS boxes .
I can't test this 🙁 ( I am running ME on my T5710 😀 ), but this means that on 9x you should have the choice to use:
- Either the WDM drivers, in which case you get SBEMUL.SYS in DOS boxes: software SBPro emulation, no FM synth, and MIDI @0x330 is redirected to SWMIDI.SYS (i.e. the Microsoft SW Synth).
- Or the VXD drivers: in which case you get hardware SBPro emulation for DOS boxes, FM synth under Windows ! (there seems to be a VXD equivalent of viafmtsr called VIAFM.DRV) but MIDI @0x330 is just redirected to the hw port.