Skip to content
Commit ec519752 authored by Alexander Stippich's avatar Alexander Stippich
Browse files

limit the rate with which progress is sent via MPRIS

BUG: 416179
parent c10644a3
  • Contributor

    This commit helped a lot in bringing down the CPU usage of plasmashell while Elisa is playing a song. However, plasmashell still consumes quite a bit of CPU, because line 216 (Q_EMIT Seeked(m_position);) is outside the if clause that was added by this commit. As such, Q_EMIT is still triggered a lot - even when the progress is less than 1% - and that induces load on the plasmashell. Why was it not moved inside the if clause like line 231 (QDBusConnection::sessionBus().send(mProgressIndicatorSignal);)?

  • Developer

    Seems like a sensible change. Would you be interested in submitting a merge request to do that? Thanks!

  • Ghost User @ghost

    mentioned in merge request !193 (merged)

    ·

    mentioned in merge request !193 (merged)

    Toggle commit list
  • mentioned in merge request plasma-mobile/plasma-dialer!108 (merged)

    Toggle commit list
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