[xiph-commits] r18240 - trunk/spectrum

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Sun Apr 15 02:37:12 PDT 2012


Author: xiphmont
Date: 2012-04-15 02:37:12 -0700 (Sun, 15 Apr 2012)
New Revision: 18240

Modified:
   trunk/spectrum/version.h
   trunk/spectrum/wave_plot.c
Log:
Don't invert the displayed data


Modified: trunk/spectrum/version.h
===================================================================
--- trunk/spectrum/version.h	2012-04-15 08:59:25 UTC (rev 18239)
+++ trunk/spectrum/version.h	2012-04-15 09:37:12 UTC (rev 18240)
@@ -1,2 +1,2 @@
 #define VERSION "$Id$ "
-/* DO NOT EDIT: Automated versioning hack [Fri Apr 13 15:10:40 EDT 2012] */
+/* DO NOT EDIT: Automated versioning hack [Sun Apr 15 05:36:41 EDT 2012] */

Modified: trunk/spectrum/wave_plot.c
===================================================================
--- trunk/spectrum/wave_plot.c	2012-04-15 08:59:25 UTC (rev 18239)
+++ trunk/spectrum/wave_plot.c	2012-04-15 09:37:12 UTC (rev 18240)
@@ -259,7 +259,7 @@
             float spani = 1000000./p->span/p->rate[fi]*wp;
             int hp=height-p->pady;
             int cp=hp/2;
-            float ym=hp*8./18.;
+            float ym=hp*-8./18;
 
             switch(p->type){
             case 0: /* zero-hold */



More information about the commits mailing list