from line 104, of AudioMixerPlatformCoreAudio.cpp, I guess line 100 is used to get the device’s preferred sample rate. But DevicePropertyAddress’s mSelector is not set to sample rate here and AudioDeviceQuerySize is not set to sizeof(GraphSampleRate).
So, it always fails. I changed the code like this and it works.
is it a bug or it’s by design?