I have an app that keeps on listening to voice and converting it to commands using Google Voice API.
I have been using setStreamMute(AudioManager.STREAM_SYSTEM
setStreamMute(AudioManager.STREAM_SYSTEM
In the update they switched the output of the 'beep' to the media stream.
So you'll need to mute the AudioManager.STREAM_MUSIC
There's an enhancement request about it here