aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/player.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/player.c b/src/player.c
index 9427ddf21..4b96f8584 100644
--- a/src/player.c
+++ b/src/player.c
@@ -442,11 +442,7 @@ int getPlayerSoftwareVolume() {
double getPlayerTotalPlayTime() {
PlayerControl * pc = &(getPlayerData()->playerControl);
- if(pc->state==PLAYER_STATE_STOP) {
- return pc->totalPlayTime;
- }
-
- return pc->totalPlayTime+pc->elapsedTime-pc->beginTime;
+ return pc->totalPlayTime;
}
unsigned int getPlayerSampleRate() {