mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix audio playback rate
This commit is contained in:
parent
6907ac9150
commit
6f5c99d208
@ -221,14 +221,7 @@ final class SharedMediaPlayer {
|
||||
if case .music = playbackData.type {
|
||||
rateValue = 1.0
|
||||
} else {
|
||||
switch strongSelf.playbackRate {
|
||||
case .x1:
|
||||
rateValue = 1.0
|
||||
case .x2:
|
||||
rateValue = 1.8
|
||||
default:
|
||||
rateValue = 1.0
|
||||
}
|
||||
rateValue = strongSelf.playbackRate.doubleValue
|
||||
}
|
||||
|
||||
switch playbackData.type {
|
||||
|
Loading…
x
Reference in New Issue
Block a user