[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bongo-patches] Allow elapsed time to be zero (suggested by Daniel Jense
From: |
Daniel Brockman |
Subject: |
[Bongo-patches] Allow elapsed time to be zero (suggested by Daniel Jensen) |
Date: |
Wed, 27 Dec 2006 22:45:18 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Here's another one. :-)
Wed Dec 27 08:36:19 CET 2006 Daniel Brockman <address@hidden>
* Allow elapsed time to be zero (suggested by Daniel Jensen).
diff -rN -u old-bongo/bongo.el new-bongo/bongo.el
--- old-bongo/bongo.el 2006-12-27 08:59:34.000000000 +0100
+++ new-bongo/bongo.el 2006-12-27 08:59:34.000000000 +0100
@@ -3530,10 +3530,9 @@
(defun bongo-player-elapsed-time (player)
"Return the number of seconds PLAYER has played so far.
If the player backend cannot report this, return nil."
- (let ((value (bongo-player-call-with-default
- player 'get-elapsed-time
- 'bongo-default-player-get-elapsed-time)))
- (and value (> value 0) value)))
+ (bongo-player-call-with-default
+ player 'get-elapsed-time
+ 'bongo-default-player-get-elapsed-time))
(defun bongo-player-total-time (player)
"Return the total number of seconds PLAYER has and will use.
--
Daniel Brockman <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bongo-patches] Allow elapsed time to be zero (suggested by Daniel Jensen),
Daniel Brockman <=