I see a situation where I am able to mute audio using the AudioManager but if I do a setStreamVolume() after that I see no effect on audio. What could be wrong? The volume is set to max volume.
AudioManager audioManager = (AudioManager) appContext.getSystemService(Context.AUDIO_SERVICE); audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0);
0 comments:
Post a Comment