2005-07-24 15:25:13 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2005 Magnus Holmgren
|
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2005-07-24 15:25:13 +00:00
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _REPLAYGAIN_H
|
|
|
|
#define _REPLAYGAIN_H
|
|
|
|
|
2008-10-15 06:38:51 +00:00
|
|
|
#include "metadata.h"
|
2005-07-27 11:54:33 +00:00
|
|
|
|
2005-08-11 18:56:20 +00:00
|
|
|
long get_replaygain_int(long int_gain);
|
2006-07-20 10:35:20 +00:00
|
|
|
long parse_replaygain(const char* key, const char* value,
|
|
|
|
struct mp3entry* entry, char* buffer, int length);
|
2007-08-25 10:25:13 +00:00
|
|
|
long parse_replaygain_int(bool album, long gain, long peak,
|
2005-07-27 11:54:33 +00:00
|
|
|
struct mp3entry* entry, char* buffer, int length);
|
2005-07-24 15:25:13 +00:00
|
|
|
|
|
|
|
#endif
|