From 4163cabef5b80851dd68cc196c2d34f48539693b Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 15 Jun 2015 19:24:15 +0000 Subject: rgscan: added feature to detect previous tags (#709) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5157 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/rgscan/rgscanner.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/plugins/General/rgscan/rgscanner.cpp') diff --git a/src/plugins/General/rgscan/rgscanner.cpp b/src/plugins/General/rgscan/rgscanner.cpp index db80af7ce..9aafbc0cf 100644 --- a/src/plugins/General/rgscan/rgscanner.cpp +++ b/src/plugins/General/rgscan/rgscanner.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2013 by Ilya Kotov * + * Copyright (C) 2013-2015 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -132,6 +132,14 @@ bool RGScanner::hasValues() const return m_has_values; } +QMap RGScanner::oldReplayGainInfo() const +{ + if(!m_decoder) + return QMap(); + + return m_decoder->replayGainInfo(); +} + double RGScanner::gain() const { return m_gain; -- cgit v1.2.3-13-gbd6f