From a0fece94bda85861676115dcd942430f77bac253 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 24 Jul 2008 11:27:37 +0200 Subject: Initial ReplayGain work (including anti-clipping) Could be tuned... --- libpiano/src/xml.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpiano/src/xml.c') diff --git a/libpiano/src/xml.c b/libpiano/src/xml.c index 5f138ff..55cb5fe 100644 --- a/libpiano/src/xml.c +++ b/libpiano/src/xml.c @@ -265,6 +265,8 @@ void PianoXmlParsePlaylistCb (const char *key, const xmlNode *value, song->stationId = strdup (valueStr); } else if (strcmp ("albumTitle", key) == 0) { song->album = strdup (valueStr); + } else if (strcmp ("fileGain", key) == 0) { + song->fileGain = atof (valueStr); } } -- cgit v1.2.3