# Bug report - Issue with AudioDeviceSelectorComponent

**URL:** <https://forum.juce.com/t/bug-report-issue-with-audiodeviceselectorcomponent/32133>\
**Category:** General JUCE discussion\
**Created:** [March 6, 2019, 3:01pm UTC](https://forum.juce.com/t/bug-report-issue-with-audiodeviceselectorcomponent/32133 "2019-03-06T15:01:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![IvanC](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ivanc/32/685_2.png) [@IvanC](https://forum.juce.com/u/IvanC)\
**Post date:** [March 6, 2019, 3:01pm UTC](https://forum.juce.com/t/bug-report-issue-with-audiodeviceselectorcomponent/32133/1 "2019-03-06T15:01:03Z")

</div>

Hello to the JUCE team !

I have just observed an issue with the class `AudioDeviceSelectorComponent`. I have created an object with the following command:

`selectorComponent = new AudioDeviceSelectorComponent (*deviceManager, 0, 2, 0, 2, false, false, true, true);`

When I make that component visible, I get this:

 ![Issue](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/7/7e4d0080c0710e9a6fc2c2b0404dcfa445b05645.png)

Of course I set the bounds as large as possible. It’s on Windows 8.1 64 bits in an app. It seems that when no input and output sources are selected, the button “advanced settings” is displayed when it shouldn’t be visible. I can even click on it there and make it diseappear…

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [March 7, 2019, 11:21am UTC](https://forum.juce.com/t/bug-report-issue-with-audiodeviceselectorcomponent/32133/2 "2019-03-07T11:21:44Z")

</div>

> <https://github.com/WeAreROLI/JUCE/commit/91ef9e2b8589a0cda6c5e82ae3dc91e5068d65fd>

---

<div class="post-metadata">

**Author:** ![IvanC](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ivanc/32/685_2.png) [@IvanC](https://forum.juce.com/u/IvanC)\
**Post date:** [March 7, 2019, 12:03pm UTC](https://forum.juce.com/t/bug-report-issue-with-audiodeviceselectorcomponent/32133/3 "2019-03-07T12:03:45Z")

</div>

Perfect thanks !

---

<div class="post-metadata">

**Author:** ![pizzafilms](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pizzafilms/32/562_2.png) [@pizzafilms](https://forum.juce.com/u/pizzafilms)\
**Post date:** [March 7, 2019, 7:13pm UTC](https://forum.juce.com/t/bug-report-issue-with-audiodeviceselectorcomponent/32133/4 "2019-03-07T19:13:57Z")

</div>

Something else is going on…I can’t select my device. It looks disabled, but if I click on it, it works.

 ![foo](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/9/9f580b10ce07f1bc1d10501274b316c28e286c41.jpeg)

But then, the settings aren’t saved in my standalone plugin. This is with the latest on Develop.

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [March 8, 2019, 8:06am UTC](https://forum.juce.com/t/bug-report-issue-with-audiodeviceselectorcomponent/32133/5 "2019-03-08T08:06:57Z")

</div>

Is this a regression? Is there a version of JUCE where the behaviour has changed?

---

<div class="post-metadata">

**Author:** ![modosc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/modosc/32/2308_2.png) [@modosc](https://forum.juce.com/u/modosc)\
**Post date:** [March 16, 2019, 12:24am UTC](https://forum.juce.com/t/bug-report-issue-with-audiodeviceselectorcomponent/32133/6 "2019-03-16T00:24:29Z")

</div>

definitely a regression, i haven’t tried to bisect it yet but it seems like it happened within the last month on develop? will play around this weekend and try to find a culprit.

---

<div class="post-metadata">

**Author:** ![modosc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/modosc/32/2308_2.png) [@modosc](https://forum.juce.com/u/modosc)\
**Post date:** [March 16, 2019, 12:37am UTC](https://forum.juce.com/t/bug-report-issue-with-audiodeviceselectorcomponent/32133/7 "2019-03-16T00:37:13Z")

</div>

oh hah - just updated and it seems fixed on `develop`, thanks!
