Detect Low Level Sound
ncvescera opened this issue · 0 comments
ncvescera commented
Print a Toast when the music volume is too low.
Something like
Music volume is too low, you could't hear the amazing sound !
Use this:
AudioManager audio = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
int currentVolume = audio.getStreamVolume(AudioManager.STREAM_MUSIC);