BR: `AudioDeviceSelector` shows wrong selected device

Hi, this is a bug that’s been present for a few versions now; there was a tentative ‘fix’ by @anthony-nicholls (commit 21df860 if I’m correct), but it is still lurking, in 7.0.12 at least.
Steps to reproduce :

Might be related to this post.

Thanks for reporting. Unfortunately I can’t reproduce the same issue. Just to be completely sure we’re both running the same version could you please download JUCE from https://juce.com/download/.

Once downloaded and extracted you should see a pre-built version of the DemoRunner located at the root. If you run that version can you still reproduce the same issue?

Thanks for the reply @anthony-nicholls :slight_smile:
I do get the same bug with the pre-built DemoRunner unfortunately.

The only other things I can think to ask are

  • What version of macOS are you running?
  • Are there any other steps not outlined in your description above I could be missing?

In the meantime I’ll take a look and see if there are any tips I can give you to try and debug this on your end.

Oh wait I just got it! I haven’t quite worked out the exact recipe yet. I’ll keep you posted.

Yippee! \o/
I’m around if you need any help debugging this.

OK I think I have a fix but it won’t make it in until next week now.

Thanks again for reporting.

3 Likes

Great that this is fixed! I also saw this happening once or twice without real steps to reproduce!

Thanks for reporting, this is fixed here

1 Like

Thank you very much as always!

Thanks @anthony-nicholls for the fix. Could we have this in develop too? (you pushed it on juce8)

1 Like

I’ll cherry pick this fix onto develop but this will likely arrive tomorrow now. Sorry for the wait.

No worries, thanks for your responsiveness!