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_api.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 'src/decoder_api.c')
-rw-r--r-- | src/decoder_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c index d60dbb8d2..25616e569 100644 --- a/src/decoder_api.c +++ b/src/decoder_api.c @@ -175,7 +175,7 @@ decoder_data(struct decoder *decoder, struct input_stream *is, void *_data, size_t length, float data_time, uint16_t bitRate, - ReplayGainInfo *replay_gain_info) + struct replay_gain_info *replay_gain_info) { static char *conv_buffer; static size_t conv_buffer_size; @@ -234,8 +234,8 @@ decoder_data(struct decoder *decoder, data, &decoder->conv_state); } - if (replay_gain_info != NULL && (replayGainState != REPLAYGAIN_OFF)) - doReplayGain(replay_gain_info, data, length, + if (replay_gain_info != NULL && (replay_gain_mode != REPLAY_GAIN_OFF)) + replay_gain_apply(replay_gain_info, data, length, &dc.out_audio_format); else if (normalizationEnabled) normalizeData(data, length, &dc.out_audio_format); |