The current sample rate attribute of the current ASIO device (obtained via audioDeviceManager.getCurrentAudioDevice()->getCurrentSampleRate()) does not follow the changes from the ASIO Control Panel.
This can be reproduced by the DemoRunner on the develop branch.
Just use the AudioSettingsDemo.h, and switch to a ASIO audio device, and open the Control Panel, change its sample rate, you’ll see a update from the device info log, but the “Sample Rate” value does not change.
I’m using Forcusrite Scarlett 6i6 as my ASIO device.
Not sure if this happens on other devices, so it might not necessarily be a JUCE bug, but can you check this out for us?