From 114b3c1e78433ff3760a28641d6da3925ef8d3ce Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 11 Nov 2008 15:55:34 +0100 Subject: replay_gain: no CamelCase Renamed functions and variables. --- src/decoder_api.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/decoder_api.c') 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); -- cgit v1.2.3