Merge pull request #8203 from dabingnn/v3_changeTabtoSpace

change tab to space
Fixes audio issues when using CMake on Mac
Adds missing includes
Merge pull request #8206 from ricardoquesada/cmake_mac_audio_fixes

Fixes audio issues when using CMake on Mac