diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-24 11:27:37 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-24 11:27:37 +0200 |
commit | a0fece94bda85861676115dcd942430f77bac253 (patch) | |
tree | fd4981a15c74a1ba5fbd8c62a81e570f3bc6e581 /libpiano/src/xml.c | |
parent | 29d6dcf6b9c90c0997ecf269b28ee4e9c89c0821 (diff) | |
download | pianobar-a0fece94bda85861676115dcd942430f77bac253.tar.gz pianobar-a0fece94bda85861676115dcd942430f77bac253.tar.bz2 pianobar-a0fece94bda85861676115dcd942430f77bac253.zip |
Initial ReplayGain work (including anti-clipping)
Could be tuned...
Diffstat (limited to 'libpiano/src/xml.c')
-rw-r--r-- | libpiano/src/xml.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } } |