replay_gain: refactor API, move code to replay_gain_state.c

The replay_gain_state struct holds the precalculated scale factor,
which is removed from struct replay_gain_info.
This commit is contained in:
Max Kellermann
2010-01-04 13:31:20 +01:00
parent cd8f92c928
commit 0e183d3fa1
8 changed files with 209 additions and 76 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ struct decoder {
/** the chunk currently being written to */
struct music_chunk *chunk;
struct replay_gain_info *replay_gain;
struct replay_gain_state *replay_gain;
};
/**