Added stub code for platforms where audio recording is not supported.