1 /* plugin_common - Routines common to several plugins
2 * Copyright (C) 2002,2003,2004,2005,2006,2007 Josh Coalson
3 * Copyright (C) 2003 Philip Jägenstedt
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 #ifndef FLAC__PLUGIN_COMMON__REPLAYGAIN_H
21 #define FLAC__PLUGIN_COMMON__REPLAYGAIN_H
23 #include "FLAC/ordinals.h"
25 void FLAC_plugin__replaygain_get_from_file(const char *filename,
26 double *reference, FLAC__bool *reference_set,
27 double *track_gain, FLAC__bool *track_gain_set,
28 double *album_gain, FLAC__bool *album_gain_set,
29 double *track_peak, FLAC__bool *track_peak_set,
30 double *album_peak, FLAC__bool *album_peak_set);