From: Andre Noll Date: Sat, 2 Nov 2019 13:59:29 +0000 (+0100) Subject: command.c: Also invalidate play time if no audio file is open. X-Git-Tag: v0.6.3~32 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=94c2ac98cd097f5ecbfe0abc7b38e7a83891bc2e;hp=0d1918752a18755bf701b82cf57fad79d9b18bc9 command.c: Also invalidate play time if no audio file is open. Without this, the time string of the previous audio file is continued to be shown in the top window of para_gui when stopped. It gets wiped out eventually, but this can take a few seconds. With the patch applied, the time string disappears immediately. --- diff --git a/command.c b/command.c index 481fd0f6..63f0f165 100644 --- a/command.c +++ b/command.c @@ -457,6 +457,7 @@ EXPORT_SERVER_CMD_HANDLER(version); ITEM(chunk_time) \ ITEM(num_chunks) \ ITEM(amplification) \ + ITEM(play_time) \ /* * Create a set of audio-file related status items with empty values. These are