Mercurial > mplayer.hg
view libaf/equalizer.h @ 26965:3fe9b7d8e4b2
Fix codec-specific options syntax declaration to be less confusing and wrong.
The option separator is a colon, all options can receive parameters, not just
the first one. Closes Bugzilla #1100.
author | diego |
---|---|
date | Fri, 06 Jun 2008 16:21:41 +0000 |
parents | 4129c8cfa742 |
children | 72d0b1444141 |
line wrap: on
line source
/*============================================================================= // // This software has been released under the terms of the GNU General Public // license. See http://www.gnu.org/copyleft/gpl.html for details. // // Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au // //============================================================================= */ #ifndef MPLAYER_EQUALIZER_H #define MPLAYER_EQUALIZER_H /* 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 */ #endif /* MPLAYER_EQUALIZER_H */