Commit 5622da50 authored by Matthias Kretz's avatar Matthias Kretz

still takes way too long to stop because xine has a latency of ~0.5s, but it's a lot better already

svn path=/trunk/KDE/kdemultimedia/juk/; revision=682138
parent f958718d
......@@ -350,9 +350,9 @@ void PlayerManager::stop()
Phonon::VolumeFaderEffect *fader = new Phonon::VolumeFaderEffect(m_media);
m_audioPath->insertEffect(fader);
fader->setFadeCurve(Phonon::VolumeFaderEffect::Fade9Decibel);
fader->fadeOut(2000);
QTimer::singleShot(3000, m_media, SLOT(stop()));
QTimer::singleShot(3000, fader, SLOT(deleteLater()));
fader->fadeOut(200);
QTimer::singleShot(1000, m_media, SLOT(stop()));
QTimer::singleShot(1200, fader, SLOT(deleteLater()));
m_playlistInterface->stop();
m_file = FileHandle::null();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment