Hi MrSoundman, let's try with SpectraLayers Pro 4.0.76 : once installed, go to the audio settings/ASIO, force the sample rate to a sample rate matching your ASIO hardware, then click "Show ASIO Panel" and let me know.
That's working now, thanks, but you have to click OK and go back into preferences before the value is applied. For example, if the forced value is 44100 and you change it to 48000, then click "Show ASIO Panel", the hardware is still set to 44100. If you change the forced value to 48000 and click OK, then go back into Preferences and "Show ASIO Panel", the hardware has now changed to 48000. I would not regard that as a major problem though.
Presumably the change is only sent to the driver when OK is clicked, not on leaving the "Force sample rate" textbox. One other suggestion would be to query the driver for a list of valid sample rates and only allow those from a drop-down list.
The hardware I'm using has a minimum sample rate of 32kHz which is probably why it defaulted to that initially. Now that I've set it specifically in SLP Preferences I can pretty much leave it like that.
. . . . Presumably the change is only sent to the driver when OK is clicked, not on leaving the "Force sample rate" textbox. . . . .
Where ever you get a dialog with either an OK or Apply button, or both, standard practice is that clicking the X button or pressing Esc on the keyboard is the same as Cancel - no changes will be applied.
Yes, basic usage, but that is not the issue. When you open Preferences for the very first time e.g. after installation, the "Force sample rate" textbox is pre-populated with 0, an non-valid value for sample rate, and this is sent to the driver when you click OK. With my specific hardware, this resulted in the lowest allowable sample rate being selected, namely 32kHz.
This is fine once you know that you have to type in a valid sample rate first, provided you also know what the valid sample rates are for you hardware.
No other audio software I've used does it this way though .... with other applications, the ASIO driver is queried, only valid sample rates are allowed, and the default is whatever the driver (hardware) is currently set to. A change is made only if a file or project is subsequently opened which has a sample rate different from the current hardware setting.