Record sample

I’m running the record sample on mac (version 10.11), and find that getRecordNumDrivers sometimes got 0 record drivers(but sometimes it is right). But if I add Common_Sleep(1000); anywhere before getRecordNumDrivers, It will return 1 record driver which is ‘Built-in Microphone’. Is it a bug of fmod library or the example?

Thanks for the bug report, it looks like a legit bug in the FMOD library. If you try to enumerate the recording device list within a second of System::init it will report 0 devices. I ensure this is fixed up for our 1.07.01 release, for now just delay your execution of the enumerate functions if need be.