From fcd13f9b227d80e066775f75b09bc6ec9337bfc8 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Mon, 14 Dec 2020 01:14:20 +0800 Subject: Add unified interface for retrieving playback status. This should make several methods obsolete, however I'm too lazy to migrate them right now. So one more item on the todo list I guess. --- visualization/renderer/qmppluginapistub.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'visualization/renderer/qmppluginapistub.hpp') diff --git a/visualization/renderer/qmppluginapistub.hpp b/visualization/renderer/qmppluginapistub.hpp index 4a9024d..ede08d3 100644 --- a/visualization/renderer/qmppluginapistub.hpp +++ b/visualization/renderer/qmppluginapistub.hpp @@ -20,6 +20,7 @@ public: uint32_t getMaxPolyphone(); uint32_t getCurrentTimeStamp(); uint32_t getCurrentPlaybackPercentage(); + PlaybackStatus getPlaybackStatus(); int getChannelCC(int ch, int cc); int getChannelPreset(int ch); void playerSeek(uint32_t percentage); -- cgit v1.2.3