Load a driver for a sound output device

=> R0 = pointer to control-terminated filename of driver



PlayIt will try to load the named driver to control the the sound hardware. If a problem occurs (not found, not a driver, etc) an error will be reported and the the old driver (if any) will remain active. If the driver loads successfully but it cannot initialise (eg hardware not present, hardware fault, out of memory) the driver will be removed from memory again and PlayIt will be left in a state with no driver active.



PlayIt can change drivers while playing a sample. If the new driver cannot be started the error is reported and the sound continues uninterrupted. If it can be started then sound is paused momentarily while the switch occurs.



If the last character of the filename is a . PlayIt scans all the files in the given directory (imagine an implied * after the .) looking for PlayIt drivers. It tests each valid driver to see if it can be used (the driver checks for its hardware) and selects the best driver based on a preference scale. Currently assigned preferences are:

32 Standard
64 ISA/SoundBlaster
96 Lark 16-bit audio card
128 Acorn 16-bit card



The one with the highest preference is chosen if more than one is present.



This is identical to the *PlayIt_Driver command except that it is an error to omit the filename.


[ Parent ] [ Manual root ]


Created by SHtoHTML v1.20