First Version before improvement, need to fill checkAudioSupport function