shithub: dumb

Download patch

ref: ca554279a235b23c7f5f6ff9ce478a7aa7250dfe
parent: 6e159ab89b5df27acf8a182a1ea5bf307ba8ff95
author: Chris Moeller <[email protected]>
date: Fri Aug 20 21:00:49 EDT 2010

- Fixed channel muting when switching or restarting songs, or when seeking
- Version is now 0.9.9.19

git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C467

--- a/dumb/src/it/itrender.c
+++ b/dumb/src/it/itrender.c
@@ -5044,7 +5044,7 @@
 		}
 	}
 
-	while (pos >= sigrenderer->time_left) {
+	while (pos > 0 && pos >= sigrenderer->time_left) {
 		render(sigrenderer, 0, 1.0f, 0, sigrenderer->time_left, NULL);
 
 		pos -= sigrenderer->time_left;