Mercurial > mplayer.hg
view libao2/eq.h @ 13000:076e87baf7c0
--Patch by Stefan '1stein' Schuermans <1stein@schuermans.info>:
on the CCC-Camp ICMP2 (www.icmp2.de) this weekend, some friends and
I played around with our Blinkenlights replicas and found a little
bug in your MPlayer Blinkenlights outpur driver "vo_bl". The
Blinkenlights UDP-Protocol contains the maximum grayscale value
"maxval" (e.g. 255 for 8 bit) instead of the number of grayscales
(e.g. 256 for 8 bit). Because some programs are very strict
concerning this value, we had to patch mpalyer to get it to work.
Today, I've added an output scheme "hdl" for the Haus des Lehrers in
Berlin, on which an installation with grayscales was done last
winter. Additionally, I've also added an output scheme named
"grayscale" that adapts the size of the UDP packets to the size
used with "-vf scale -zoom" that we will need for a project (a room
with over 15000 pixels at the walls and floor) next year.
author | rik |
---|---|
date | Wed, 11 Aug 2004 13:39:32 +0000 |
parents | a2173bfdc133 |
children |
line wrap: on
line source
/*============================================================================= // // This software has been released under the terms of the GNU Public // license. See http://www.gnu.org/copyleft/gpl.html for details. // // Copyright 2001 Anders Johansson ajh@atri.curtin.edu.au // //============================================================================= */ /* Equalizer plugin header file defines struct used for setting or getting the gain of a specific channel and frequency */ typedef struct equalizer_s { float gain; // Gain in dB -15 - 15 int channel; // Channel number 0 - 5 int band; // Frequency band 0 - 9 }equalizer_t; /* The different frequency bands are: nr. center frequency 0 31.25 Hz 1 62.50 Hz 2 125.0 Hz 3 250.0 Hz 4 500.0 Hz 5 1.000 kHz 6 2.000 kHz 7 4.000 kHz 8 8.000 kHz 9 16.00 kHz */ #define AOCONTROL_PLUGIN_EQ_SET_GAIN 2 // Use this to set the gain #define AOCONTROL_PLUGIN_EQ_GET_GAIN 3 // Use this to get the gain