# AudioPluginHost Change Sample Rate Error

**URL:** <https://forum.juce.com/t/audiopluginhost-change-sample-rate-error/59151>\
**Category:** General JUCE discussion\
**Created:** [December 12, 2023, 3:51pm UTC](https://forum.juce.com/t/audiopluginhost-change-sample-rate-error/59151 "2023-12-12T15:51:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomers](https://avatars.discourse-cdn.com/v4/letter/t/7ea924/32.png) [@tomers](https://forum.juce.com/u/tomers)\
**Post date:** [December 12, 2023, 3:51pm UTC](https://forum.juce.com/t/audiopluginhost-change-sample-rate-error/59151/1 "2023-12-12T15:51:25Z")

</div>

When changing sample rate under AudioPluginHost (default build from extras folder) I get an error:  
“Error when trying to open audio device!  
Failed to initialise all requested devices.”

It happens under the following conditions:

- Run AudioPluginHost executable under mac
- Connect audio inputs and outputs routing
- Input and Output devices are set to Mac microphone and speaker
- Change sample rate will result with the above error

I found that the issue started with version 7.0.6 (7.0.5 doesn’t produce this error).  
Any chance to get that fixed?

Thanks,  
Tomer

---

<div class="post-metadata">

**Author:** ![tomers](https://avatars.discourse-cdn.com/v4/letter/t/7ea924/32.png) [@tomers](https://forum.juce.com/u/tomers)\
**Post date:** [December 18, 2023, 7:47am UTC](https://forum.juce.com/t/audiopluginhost-change-sample-rate-error/59151/2 "2023-12-18T07:47:29Z")

</div>

Any insight by anyone?
