CB-7547 Fixes audio recording on windows platform