mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Handle core-idle property
This commit is contained in:
@@ -109,6 +109,7 @@ final class MPVClient: ObservableObject {
|
||||
|
||||
mpv_set_wakeup_callback(mpv, wakeUp, UnsafeMutableRawPointer(Unmanaged.passUnretained(self).toOpaque()))
|
||||
mpv_observe_property(mpv, 0, "pause", MPV_FORMAT_FLAG)
|
||||
mpv_observe_property(mpv, 0, "core-idle", MPV_FORMAT_FLAG)
|
||||
}
|
||||
|
||||
func readEvents() {
|
||||
|
Reference in New Issue
Block a user