diff options
author | Max Kellermann <max@duempel.org> | 2010-02-17 08:13:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-02-17 08:13:34 +0100 |
commit | 48b49e230352de10bb3f66a1c85d367dade52001 (patch) | |
tree | f457ea9daf5f53f11bb62ff91bb52620dbd265bc /src/replay_gain_info.h | |
parent | 752dfb3d95482c562e5d24c6ea839c4815de9a6d (diff) | |
download | mpd-48b49e230352de10bb3f66a1c85d367dade52001.tar.gz mpd-48b49e230352de10bb3f66a1c85d367dade52001.tar.xz mpd-48b49e230352de10bb3f66a1c85d367dade52001.zip |
replay_gain: fall back to track gain if album gain is unavailable
Diffstat (limited to 'src/replay_gain_info.h')
-rw-r--r-- | src/replay_gain_info.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/replay_gain_info.h b/src/replay_gain_info.h index c61bac387..f39974d59 100644 --- a/src/replay_gain_info.h +++ b/src/replay_gain_info.h @@ -63,4 +63,11 @@ replay_gain_tuple_defined(const struct replay_gain_tuple *tuple) float replay_gain_tuple_scale(const struct replay_gain_tuple *tuple, float preamp); +/** + * Attempt to auto-complete missing data. In particular, if album + * information is missing, track gain is used. + */ +void +replay_gain_info_complete(struct replay_gain_info *info); + #endif |