Fix crash when no mic present

A microphone was assumed present causing a crashes when a null pointer
was dereferenced.