Stuck buffer when changing sample rates


I am using JUCE AudioPluginHost to load & test VST3 plugins, When changing sample rate the audio gets corrupted. This issue not reproduced on other hosts.
Can you please help me with this issue.

step to reproduce :

  • Load “Waves Clavinet” plugin.
  • Assign ASIO driver Change the sample rate.
  • Result: Audio gets corrupted / stuck buffer.

We found that this issue reproduce only with ASIO RME driver.