aboutsummaryrefslogtreecommitdiffstats
path: root/src/replay_gain_state.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* replay_gain: reimplement as a filter pluginMax Kellermann2010-02-171-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.
* replay_gain_info: allocate the struct staticallyMax Kellermann2010-02-171-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.
* replay_gain_state: moved code to replay_gain_tuple_scale()Max Kellermann2010-02-151-19/+1
| | | | | Moved (and renamed) the function calc_replay_gain_scale() to replay_gain_info.c.
* replay_gain: added function defined()Max Kellermann2010-02-151-12/+10
| | | | This function determines whether replay gain data is available.
* replay_gain: refactor API, move code to replay_gain_state.cMax Kellermann2010-01-041-0/+142
The replay_gain_state struct holds the precalculated scale factor, which is removed from struct replay_gain_info.