When I initialize speechrecognitionNoUi the volume is set to zero
Anyone now how to prevent it?
Or I have to save the volume before and restore after?
Thanks
B4X:
Dim Sr As SpeechRecognitionNoUI
Log ("Volume antes: " & PH.GetVolume ( PH.VOLUME_MUSIC ))
If gStatusTelefone = "IDLE" Then
Sr.StartListening(Main.gLang,False,False)
Log ("Volume depois: " & PH.GetVolume ( PH.VOLUME_MUSIC ))
End If
Volume antes: 13
Volume depois: 0
Anyone now how to prevent it?
Or I have to save the volume before and restore after?
Thanks