mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 07:13:00 +00:00 
			
		
		
		
	Merge pull request #2120 from Redirion/patch-1
Fix delayed ducking of Audio
This commit is contained in:
		| @@ -131,7 +131,7 @@ public class AudioReactor implements AudioManager.OnAudioFocusChangeListener, | ||||
|     private void onAudioFocusLossCanDuck() { | ||||
|         Log.d(TAG, "onAudioFocusLossCanDuck() called"); | ||||
|         // Set the volume to 1/10 on ducking | ||||
|         animateAudio(player.getVolume(), DUCK_AUDIO_TO); | ||||
|         player.setVolume(DUCK_AUDIO_TO); | ||||
|     } | ||||
|  | ||||
|     private void animateAudio(final float from, final float to) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Christian Schabesberger
					Christian Schabesberger