correct PIBinaryLog play_speed

git-svn-id: svn://db.shs.com.ru/pip@121 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2015-04-27 09:52:12 +00:00
parent 4a6bc6a4ab
commit 57e0e56c71
3 changed files with 8 additions and 5 deletions

View File

@@ -103,7 +103,7 @@ public:
int defaultID() const {return default_id;}
//! Returns current play speed
double playSpeed() const {return play_speed;}
double playSpeed() const {return play_speed > 0 ? 1. / play_speed : 0;}
//! Returns current play delay
PISystemTime playDelay() const {return play_delay;}