Thanks Lars! This seems to work with regular MP3 and WAV files, but I can't play any 24 bit WAV files (by double-clicking on them). I get an error saying 'The device driver cannot be opened or the required hardware is missing (rc=5006)'. Files are 24bit, 48KHz, 2 channel and are properly recognized if I right click on it and choose 'Open as..' -> 'Wavefile Info'. Far as I can tell the USBWAV codec is installed (using listprocs). Is this a limitation of the OS/2 player? What do you or Wim use to play 24 bit files?
Still can't switch back and forth from Uniaud to USBWav, probably because there is no AmpMix page for UniAud. Unchecking the 'Default Device' under the USB Ampmix page doesn't stick for some reason. Once checked, USB is all I get until I go into MMPM2.INI and remove it from the [defaultnames] section. Can the Ampmix page for UniAud be added manually by tweaking MMPM2.INI? I'll play around with that...
One other thing that seems obvious in retrospect... I uninstalled the old USB audio stuff using this package before re-installing, but the USB sequencer stuff was not removed (because it doesn't install it!). Have to use the last package (USBDrv220) to do it right.
Regards,
1) "cannot play 24-bit": the error messages states exactly what happens: Your USB audio HW does not support replay of 24-bit. I decided to not add additional conversion code into USBAUDIO.SYS (apart from support for "legacy" sample rates and bit sizes of 8 kHz,11.025kHz, 22.050kHz and 8-bit respectively). We let the HW do what the HW can do but no more. You can use PM player which will do 24-bit and 32-bit to 16-bit conversion in SW. I could add that to USBWAV.DLL but currently it's not in there.
2) installation woes: unfortunately, audio installation is a bit tricky. The minstall.exe uses the info in CARDINFO.DLL in order to decide what to install or uninstall (which is ok and the right way to go). As you found out, the new CARDINFO.DLL no longer contains the "sequencer" section because USBAUDIO.SYS has never and probably will never support MIDI. That's the reason why you cannot uninstall it. If everything else fails, you can always copy the "virgin" MMPM2.INI from \MMOS2\INSTUNST\INIBACK directory to \MMOS2 and rerun the installation.
In hindsight I should have never delivered a USBAUDIO installation that installs the sequencer device ...
3) you have to "toggle" the "AMPMIX as default" setting (deselect and then reselect). That will finally create the [defaultnames] section in MMPM2.INI with WMBAMPMIX01 set as default. You do likewise for the WAVEAUDIO device.
As you now have found out, setting the DEVICEFLAG from 2 to 1 in the [UNIAUDAMPMIX] section (and then giving it a sensible ALIASNAME for displaying on the settings tab) will get you the AMPMIX page in the Multimedia Setup object (and the USBAUDIO installation does that through CARDINFO.DLL for its own installation). I think the UNIAUD installation should be updated but oh well ...
Lars