I have a bug I didn’t had with Mac OS 10.4 on the 10.5, with the AudioDeviceSelectorComponent.
I don’t know if it’s an issue of my soundcard but, when I try to change the selected input with this window, my application crashes. I want to select only one input not less not more, the first one is selected, I choose the second… And I get a crash. With the last juce demo, I have the same issue. I try to chose another input, the juce demo exits.
I have tried with the default soundcard of my Mac Mini.
I go to the audio demo tab, I click on the “Show Audio Settings” button. Then I try to chose only the second input in the list. When I click on the second one, the first stay checked. An when I click again on the first or the second, the application exits.
Another piece of information : when I initialize the window this way :
Then it is possible for me to select TWO inputs on the window. And I get a crash after that. I don’t have this problem with Windows XP. The same code is used with Windows and Mac OS X 10.5…
Am I the only one here who has a problem with the AudioDeviceSelector and Mac OS X ?
Usually this kind of thing is really easy to track down in the debugger, but it doesn’t sound like you’re too experienced with doing that… Unfortunately, as I can’t reproduce it myself, you’re the only person who has a chance of debugging it! Posting all these extra clues really isn’t much use to me - what I need to see is a call stack that shows where it’s all gone wrong…
Forgot to follow up on the white window issue… anyway, we finally got a reproducible case in house, and the code here fixed it. I’d suggest using that, and you shouldn’t have to worry about the color-profile-change hack. I doubt this change will go into the dist since it’s all going to Cocoa now…
I’m going to try re-creating my AU/VST project from scratch, following the advice in the 1.50 file…:
juce/extras/audio plugins/How to use this framework.txt.
… as I’m still based on the old approach where the AU and VST were built separately.
Maybe I’ll get lucky, and this will make my problem disappear.