aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/_flac_common.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-11 15:55:34 +0100
committerMax Kellermann <max@duempel.org>2008-11-11 15:55:34 +0100
commit114b3c1e78433ff3760a28641d6da3925ef8d3ce (patch)
treef92bc79eda01492741cf37a824d922c10758c1a2 /src/decoder/_flac_common.c
parent54ad08ab378f9e988cc8289c0923e50047805b1f (diff)
downloadmpd-114b3c1e78433ff3760a28641d6da3925ef8d3ce.tar.gz
mpd-114b3c1e78433ff3760a28641d6da3925ef8d3ce.tar.xz
mpd-114b3c1e78433ff3760a28641d6da3925ef8d3ce.zip
replay_gain: no CamelCase
Renamed functions and variables.
Diffstat (limited to 'src/decoder/_flac_common.c')
-rw-r--r--src/decoder/_flac_common.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/decoder/_flac_common.c b/src/decoder/_flac_common.c
index a8a856755..3df7d24e5 100644
--- a/src/decoder/_flac_common.c
+++ b/src/decoder/_flac_common.c
@@ -70,21 +70,21 @@ static void flacParseReplayGain(const FLAC__StreamMetadata * block,
int found = 0;
if (data->replayGainInfo)
- freeReplayGainInfo(data->replayGainInfo);
+ replay_gain_info_free(data->replayGainInfo);
- data->replayGainInfo = newReplayGainInfo();
+ data->replayGainInfo = replay_gain_info_new();
found |= flacFindVorbisCommentFloat(block, "replaygain_album_gain",
- &data->replayGainInfo->albumGain);
+ &data->replayGainInfo->album_gain);
found |= flacFindVorbisCommentFloat(block, "replaygain_album_peak",
- &data->replayGainInfo->albumPeak);
+ &data->replayGainInfo->album_peak);
found |= flacFindVorbisCommentFloat(block, "replaygain_track_gain",
- &data->replayGainInfo->trackGain);
+ &data->replayGainInfo->track_gain);
found |= flacFindVorbisCommentFloat(block, "replaygain_track_peak",
- &data->replayGainInfo->trackPeak);
+ &data->replayGainInfo->track_peak);
if (!found) {
- freeReplayGainInfo(data->replayGainInfo);
+ replay_gain_info_free(data->replayGainInfo);
data->replayGainInfo = NULL;
}
}