Commit cb1976ed authored by Clément Stenac's avatar Clément Stenac

* modules/visualisation/visual/effects.c

  modules/visualisation/visual/visual.h:
	- Change default effect-height
	- Less scaling in spectrum analyser
parent 49dc6f8e
......@@ -2,7 +2,7 @@
* effects.c : Effects for the visualization system
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: effects.c,v 1.5 2003/09/03 10:00:23 zorglub Exp $
* $Id: effects.c,v 1.6 2003/09/08 22:00:47 zorglub Exp $
*
* Authors: Clment Stenac <zorglub@via.ecp.fr>
*
......@@ -175,7 +175,7 @@ int spectrum_Run(visual_effect_t * p_effect, aout_instance_t *p_aout,
y = p_dest[j];
}
/* Calculate the height of the bar */
y >>=5; /* remove some noise */
y >>=7;/* remove some noise */
if( y != 0)
{
height[i] = (int)log(y)* y_scale;
......
......@@ -2,7 +2,7 @@
* visual.h : Header for the visualisation system
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: visual.h,v 1.2 2003/08/29 16:56:43 zorglub Exp $
* $Id: visual.h,v 1.3 2003/09/08 22:00:47 zorglub Exp $
*
* Authors: Clment Stenac <zorglub@via.ecp.fr>
*
......@@ -79,4 +79,4 @@ int blur_Run
/* Default vout size */
#define VOUT_WIDTH 320
#define VOUT_HEIGHT 240
#define VOUT_HEIGHT 120
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment