2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Use streaming player speed in 2x playback.

This commit is contained in:
John Preston
2019-03-26 16:50:00 +04:00
parent e87084715d
commit bf182697b9
6 changed files with 23 additions and 96 deletions

View File

@@ -521,9 +521,6 @@ void Application::startMtp() {
if (_authSession) {
// Skip all pending self updates so that we won't Local::writeSelf.
Notify::peerUpdatedSendDelayed();
Media::Player::mixer()->setVoicePlaybackDoubled(
Global::VoiceMsgPlaybackDoubled());
}
}
@@ -987,7 +984,6 @@ void Application::loggedOut() {
clearPasscodeLock();
Media::Player::mixer()->stopAndClear();
Global::SetVoiceMsgPlaybackDoubled(false);
Media::Player::mixer()->setVoicePlaybackDoubled(false);
if (const auto window = getActiveWindow()) {
window->tempDirDelete(Local::ClearManagerAll);
window->setupIntro();