aboutsummaryrefslogtreecommitdiffstats
path: root/src/replay_gain_state.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-02-17replay_gain: reimplement as a filter pluginMax Kellermann1-117/+0
Apply the replay gain in the output thread. This means a new setting will be active instantly, without going through the whole music pipe. And we might have different replay gain settings for each audio output device.
2010-02-17replay_gain_info: allocate the struct staticallyMax Kellermann1-13/+8
Don't allocate each replay_gain_info object on the heap. Those objects who held a pointer now store a full replay_gain_info object. This reduces the number of allocations and heap fragmentation.
2010-02-15replay_gain_state: moved code to replay_gain_tuple_scale()Max Kellermann1-19/+1
Moved (and renamed) the function calc_replay_gain_scale() to replay_gain_info.c.
2010-02-15replay_gain: added function defined()Max Kellermann1-12/+10
This function determines whether replay gain data is available.
2010-01-04replay_gain: refactor API, move code to replay_gain_state.cMax Kellermann1-0/+142
The replay_gain_state struct holds the precalculated scale factor, which is removed from struct replay_gain_info.