diff edwaveform.h @ 400:f44a89a25c97

Fix waveform display from going over buffer limit.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 19 Oct 2012 15:56:59 +0300
parents 5137db55f00b
children d34922e6a244
line wrap: on
line diff
--- a/edwaveform.h	Fri Oct 19 10:04:57 2012 +0300
+++ b/edwaveform.h	Fri Oct 19 15:56:59 2012 +0300
@@ -55,7 +55,7 @@
     float scale;
     float time, offs, duration; // in milliseconds
 
-    int size, channels, format, freq;
+    int size, channels, format, freq, sduration;
     void *data;
 };