• Jeffrey Lee's avatar
    Allow module initialisation to succeed if there is no audio device present · 0da194ee
    Jeffrey Lee authored
    Detail:
      Since we can cope with audio devices dynamically being added and removed once initialisation is complete, it seems sensible to also cope with the situation where no devices are available on startup.
      s/Sound0 - Rearrange Initialise_Module so that if no device is found on startup, the initial state of the module will be the same as if a device had been found but then went missing: configuration SWIs will continue to function, the next device to appear will automatically be selected as the active device (with sound automatically turning on), and manual Sound_Enable calls will produce an error saying no device is present. These changes should also allow the module to cope with situations where other support modules like DMAManager, RTSupport, or VFPSupport are (temporarily) unavailable on startup.
    Admin:
      Tested on iMX6
    
    
    Version 1.88. Tagged as 'Sound0HAL-1_88'
    0da194ee
VersionNum 821 Bytes