[Android] Equalizer can be null
Geoffrey Métais
git at videolan.org
Tue Jan 30 17:06:26 CET 2018
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan 30 17:05:52 2018 +0100| [33b37274b6ac91096f3e5f99c41d5bf45cb2ac63] | committer: Geoffrey Métais
Equalizer can be null
> https://code.videolan.org/videolan/vlc-android/commit/33b37274b6ac91096f3e5f99c41d5bf45cb2ac63
---
vlc-android/src/org/videolan/vlc/media/PlayerController.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/media/PlayerController.kt b/vlc-android/src/org/videolan/vlc/media/PlayerController.kt
index 8afaf7b57..f10a4372d 100644
--- a/vlc-android/src/org/videolan/vlc/media/PlayerController.kt
+++ b/vlc-android/src/org/videolan/vlc/media/PlayerController.kt
@@ -142,7 +142,7 @@ class PlayerController : IVLCVout.Callback, MediaPlayer.EventListener {
fun setAudioDelay(delay: Long) = mediaplayer.setAudioDelay(delay)
- fun setEqualizer(equalizer: MediaPlayer.Equalizer) = mediaplayer.setEqualizer(equalizer)
+ fun setEqualizer(equalizer: MediaPlayer.Equalizer?) = mediaplayer.setEqualizer(equalizer)
@MainThread
fun setVideoScale(scale: Float) {
More information about the Android
mailing list