diff options
author | Max Kellermann <max@duempel.org> | 2013-01-20 17:48:23 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-20 17:48:23 +0100 |
commit | e1b03b4a716dbb35a737d34fba531e623f7980f3 (patch) | |
tree | ac2143b4b3122d594000a70b51ca29fb2c937307 /src/Stats.cxx | |
parent | e6ed592b8aeb5025be0893ee99ff44e46a9ffd1c (diff) | |
download | mpd-e1b03b4a716dbb35a737d34fba531e623f7980f3.tar.gz mpd-e1b03b4a716dbb35a737d34fba531e623f7980f3.tar.xz mpd-e1b03b4a716dbb35a737d34fba531e623f7980f3.zip |
PlayerControl: move functions into the class
Diffstat (limited to 'src/Stats.cxx')
-rw-r--r-- | src/Stats.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Stats.cxx b/src/Stats.cxx index f848a9b03..354d26c59 100644 --- a/src/Stats.cxx +++ b/src/Stats.cxx @@ -79,7 +79,7 @@ stats_print(Client *client) stats.album_count, stats.song_count, (long)g_timer_elapsed(stats.timer, NULL), - (long)(pc_get_total_play_time(client->player_control) + 0.5), + (long)(client->player_control->GetTotalPlayTime() + 0.5), stats.song_duration); if (db_is_simple()) |