From ce072b89d24aba8b54da5958ef73b1864ad003ae Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 25 Jun 2009 08:37:34 +0200 Subject: command: added new "status" line with more precise "elapsed time" --- src/command.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/command.c') diff --git a/src/command.c b/src/command.c index d30b63594..5b2973d3e 100644 --- a/src/command.c +++ b/src/command.c @@ -501,9 +501,11 @@ handle_status(struct client *client, const struct audio_format *af = player_get_audio_format(); client_printf(client, COMMAND_STATUS_TIME ": %i:%i\n" + "elapsed: %1.3f\n" COMMAND_STATUS_BITRATE ": %li\n" COMMAND_STATUS_AUDIO ": %u:%u:%u\n", getPlayerElapsedTime(), getPlayerTotalTime(), + pc.elapsed_time, getPlayerBitRate(), af->sample_rate, af->bits, af->channels); } -- cgit v1.2.3