Skip to content

Commit e49e7bd

Browse files
committed
fix: removes unnecessary int conversion in android setAudioDelay method
1 parent fed6b5b commit e49e7bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flutter_vlc_player/android/src/main/java/software/solid/fluttervlcplayer/FlutterVlcPlayerBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public Long getAudioTrack(@NonNull Long playerId) {
285285
@Override
286286
public void setAudioDelay(@NonNull Long playerId, @NonNull Long delay) {
287287
var player = getPlayer(playerId);
288-
player.setAudioDelay(delay.intValue());
288+
player.setAudioDelay(delay);
289289
}
290290

291291
@NonNull

0 commit comments

Comments
 (0)