mirror of
https://github.com/yattee/yattee.git
synced 2024-12-13 05:40:32 +05:30
Change playback rates for MPV
This commit is contained in:
parent
bc1571a746
commit
be2af82300
@ -93,7 +93,7 @@ final class MPVBackend: PlayerBackend {
|
|||||||
private var timeObserverThrottle = Throttle(interval: 2)
|
private var timeObserverThrottle = Throttle(interval: 2)
|
||||||
|
|
||||||
var suggestedPlaybackRates: [Double] {
|
var suggestedPlaybackRates: [Double] {
|
||||||
[0.1, 0.25, 0.3, 0.33, 0.5, 0.67, 0.8, 1, 1.25, 1.5, 1.75, 2, 3, 4]
|
[0.25, 0.33, 0.5, 0.67, 0.75, 1, 1.25, 1.5, 1.75, 2, 3, 4]
|
||||||
}
|
}
|
||||||
|
|
||||||
func canPlayAtRate(_ rate: Double) -> Bool {
|
func canPlayAtRate(_ rate: Double) -> Bool {
|
||||||
|
Loading…
Reference in New Issue
Block a user