Mercurial > hg > svgui
comparison view/ViewManager.h @ 689:d8fc9659a206
Remove polling on play status, eliminating one source of idle wakeups (requires connection to playStatusChanged from callback play source)
author | Chris Cannam |
---|---|
date | Tue, 03 Dec 2013 12:34:38 +0000 |
parents | 5b72899d692b |
children | ad12e428785b |
comparison
equal
deleted
inserted
replaced
683:692a8b9804fe | 689:d8fc9659a206 |
---|---|
246 public slots: | 246 public slots: |
247 void viewCentreFrameChanged(unsigned long, bool, PlaybackFollowMode); | 247 void viewCentreFrameChanged(unsigned long, bool, PlaybackFollowMode); |
248 void viewZoomLevelChanged(unsigned long, bool); | 248 void viewZoomLevelChanged(unsigned long, bool); |
249 void setGlobalCentreFrame(unsigned long); | 249 void setGlobalCentreFrame(unsigned long); |
250 void setPlaybackFrame(unsigned long); | 250 void setPlaybackFrame(unsigned long); |
251 void playStatusChanged(bool playing); | |
251 | 252 |
252 protected slots: | 253 protected slots: |
253 void checkPlayStatus(); | 254 void checkPlayStatus(); |
254 void playStatusChanged(bool playing); | |
255 void seek(unsigned long); | 255 void seek(unsigned long); |
256 //!!! void considerZoomChange(void *, unsigned long, bool); | 256 //!!! void considerZoomChange(void *, unsigned long, bool); |
257 | 257 |
258 protected: | 258 protected: |
259 AudioPlaySource *m_playSource; | 259 AudioPlaySource *m_playSource; |