I am implementing a host / standalone app.
When I create the AudioIODeviceCallback, I get a sample rate of 0 in the audioDeviceAboutToStart().
The AudioIODevice is juce::CoreAudioClasses::AudioIODeviceCombiner
I debugged into the juce::CoreAudioClasses::AudioIODeviceCombiner::start() and can see there that the getAvailableSampleRates() returns an empty array.
The output is functional, but the samplerate is always 0 which screws up my pipeline (and prevents me fro using the MidiInputCollector).
I completely forgot that I have a USB webcam connected to the Mini. When I remove that, it works as expected.
Seems the AudioIODeviceCombiner fails to return the samplerate it combines to. This samplerate should always be included in getAvailableSampleRates().
Oh yeah, I forgot. The probably cheapest possible. They didn’t even bother making a company name up
The internet finds them under the vendor ID as Man & Machine Inc. / man-machine.com
Not sure how accurate that is, they don’t look like doing 15 bucks cameras on their website…