Commit ffcbcf4a authored by Christian Esken's avatar Christian Esken
Browse files

Temporarily enable polling mode for MPRIS2 backend. Currently required for...

Temporarily enable polling mode for MPRIS2 backend. Currently required for properly processing changes from players.
CCBUGS: 317926
parent f2291ba1
......@@ -67,7 +67,10 @@ public:
virtual void setEnumIdHW(const QString& id, unsigned int);
virtual unsigned int enumIdHW(const QString& id);
virtual bool moveStream( const QString& id, const QString& destId );
virtual bool needsPolling() { return false; }
#ifdef __GNUC__
#warning MPRIS2 currently uses Polling mode. Method needsPolling() must be overwritten again. Polling needs too much CPU.
#endif
//virtual bool needsPolling() { return false; } // TODO cesken
virtual int mediaPlay(QString id);
virtual int mediaPrev(QString id);
......
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