Simple bug in CoreAudio AudioIODeviceType::createDevice?


#1

This looks wrong:

​if (inputDeviceID == 0 && inputDeviceID == 0)
    return nullptr;

Shouldn't that be

​if (inputDeviceID == 0 && outputDeviceID == 0)
    return nullptr;

#2

Doh! Thanks, fixed now.