diff options
author | Max Kellermann <max@duempel.org> | 2008-11-11 15:55:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-11 15:55:34 +0100 |
commit | 114b3c1e78433ff3760a28641d6da3925ef8d3ce (patch) | |
tree | f92bc79eda01492741cf37a824d922c10758c1a2 /src/decoder/mpc_plugin.c | |
parent | 54ad08ab378f9e988cc8289c0923e50047805b1f (diff) | |
download | mpd-114b3c1e78433ff3760a28641d6da3925ef8d3ce.tar.gz mpd-114b3c1e78433ff3760a28641d6da3925ef8d3ce.tar.xz mpd-114b3c1e78433ff3760a28641d6da3925ef8d3ce.zip |
replay_gain: no CamelCase
Renamed functions and variables.
Diffstat (limited to '')
-rw-r--r-- | src/decoder/mpc_plugin.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/decoder/mpc_plugin.c b/src/decoder/mpc_plugin.c index a9917d9f9..6bb1d4f59 100644 --- a/src/decoder/mpc_plugin.c +++ b/src/decoder/mpc_plugin.c @@ -120,7 +120,7 @@ mpc_decode(struct decoder *mpd_decoder, struct input_stream *inStream) mpc_uint32_t vbrUpdateBits; float total_time; int i; - ReplayGainInfo *replayGainInfo = NULL; + struct replay_gain_info *replayGainInfo = NULL; data.inStream = inStream; data.decoder = mpd_decoder; @@ -156,11 +156,11 @@ mpc_decode(struct decoder *mpd_decoder, struct input_stream *inStream) audio_format.channels = info.channels; audio_format.sample_rate = info.sample_freq; - replayGainInfo = newReplayGainInfo(); - replayGainInfo->albumGain = info.gain_album * 0.01; - replayGainInfo->albumPeak = info.peak_album / 32767.0; - replayGainInfo->trackGain = info.gain_title * 0.01; - replayGainInfo->trackPeak = info.peak_title / 32767.0; + replayGainInfo = replay_gain_info_new(); + replayGainInfo->album_gain = info.gain_album * 0.01; + replayGainInfo->album_peak = info.peak_album / 32767.0; + replayGainInfo->track_gain = info.gain_title * 0.01; + replayGainInfo->track_peak = info.peak_title / 32767.0; decoder_initialized(mpd_decoder, &audio_format, inStream->seekable, @@ -231,7 +231,7 @@ mpc_decode(struct decoder *mpd_decoder, struct input_stream *inStream) replayGainInfo); } - freeReplayGainInfo(replayGainInfo); + replay_gain_info_free(replayGainInfo); return true; } |