From 5eb5c4d9c63763348ade828d187c723ee44f8228 Mon Sep 17 00:00:00 2001 From: waker Date: Sat, 16 Apr 2011 13:38:12 +0200 Subject: replaygain: added fallback mode that will use album gain, if track gain was not set, and vice-versa --- playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'playlist.c') diff --git a/playlist.c b/playlist.c index 5b1443a1..22c3a3bf 100644 --- a/playlist.c +++ b/playlist.c @@ -2612,7 +2612,7 @@ pl_get_item_replaygain (playItem_t *it, int idx) { switch (idx) { case DDB_REPLAYGAIN_ALBUMGAIN: case DDB_REPLAYGAIN_TRACKGAIN: - return pl_find_meta_float (it, rg_keys[idx], 0); + return pl_find_meta_float (it, rg_keys[idx], 1000); case DDB_REPLAYGAIN_ALBUMPEAK: case DDB_REPLAYGAIN_TRACKPEAK: return pl_find_meta_float (it, rg_keys[idx], 1); -- cgit v1.2.3