Migrate to mpv

This commit is contained in:
2026-04-19 15:39:49 +02:00
parent f6721de3a6
commit 835510115e
15 changed files with 203 additions and 107 deletions
@@ -207,6 +207,15 @@ namespace margelo::nitro::omni {
static const auto method = _javaPart->javaClassStatic()->getMethod<void(double /* volume */)>("setVolume");
method(_javaPart, volume);
}
bool JHybridOmniPlayerSpec::getMuted() {
static const auto method = _javaPart->javaClassStatic()->getMethod<jboolean()>("getMuted");
auto __result = method(_javaPart);
return static_cast<bool>(__result);
}
void JHybridOmniPlayerSpec::setMuted(bool muted) {
static const auto method = _javaPart->javaClassStatic()->getMethod<void(jboolean /* muted */)>("setMuted");
method(_javaPart, muted);
}
// Methods
void JHybridOmniPlayerSpec::play() {