madari-oss/lib/features/video_player/container/set_delay_native.dart
omkar 46571852de
Some checks failed
Build and Deploy / build_windows (push) Has been cancelled
Build and Deploy / build_android (push) Has been cancelled
Build and Deploy / build_ipa (push) Has been cancelled
Build and Deploy / build_linux (push) Has been cancelled
Build and Deploy / build_macos (push) Has been cancelled
fix: small changes
2025-02-06 23:08:55 +05:30

7 lines
340 B
Dart

import 'package:madari_client/features/video_player/container/state/video_settings.dart';
import 'package:media_kit/media_kit.dart';
void setDelay(NativePlayer platform, VideoSettingsProvider settings) {
platform.setProperty('sub-delay', "${-settings.subtitleDelay}");
platform.setProperty('audio-delay', "${-settings.audioDelay}");
}