mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Snappy UI - Offloading non UI task to background threads
This gives a huge increase in perceived performance. The UI is now much more responsive since some tasks are run in the background and don't block the UI anymore.
This commit is contained in:
@@ -10,7 +10,7 @@ import SwiftUI
|
||||
|
||||
final class MPVBackend: PlayerBackend {
|
||||
static var timeUpdateInterval = 0.5
|
||||
static var networkStateUpdateInterval = 1.0
|
||||
static var networkStateUpdateInterval = 0.1
|
||||
|
||||
private var logger = Logger(label: "mpv-backend")
|
||||
|
||||
|
Reference in New Issue
Block a user