src/3rdparty/phonon/mmf/loudness.cpp
changeset 33 3e2da88830cd
parent 18 2f34d5167611
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
    14 You should have received a copy of the GNU Lesser General Public License
    14 You should have received a copy of the GNU Lesser General Public License
    15 along with this library.  If not, see <http://www.gnu.org/licenses/>.
    15 along with this library.  If not, see <http://www.gnu.org/licenses/>.
    16 
    16 
    17 */
    17 */
    18 
    18 
    19 #include <LoudnessBase.h>
    19 #include <loudnessbase.h>
    20 #include "loudness.h"
    20 #include "loudness.h"
    21 
    21 
    22 QT_BEGIN_NAMESPACE
    22 QT_BEGIN_NAMESPACE
    23 
    23 
    24 using namespace Phonon;
    24 using namespace Phonon;
    47 }
    47 }
    48 
    48 
    49 bool Loudness::getParameters(CMdaAudioOutputStream *stream,
    49 bool Loudness::getParameters(CMdaAudioOutputStream *stream,
    50     QList<EffectParameter> &parameters)
    50     QList<EffectParameter> &parameters)
    51 {
    51 {
       
    52     Q_UNUSED(parameters)
    52     QScopedPointer<CLoudness> effect;
    53     QScopedPointer<CLoudness> effect;
    53     TRAPD(err, effect.reset(CLoudness::NewL(*stream)));
    54     TRAPD(err, effect.reset(CLoudness::NewL(*stream)));
    54     return (KErrNone == err);
    55     return (KErrNone == err);
    55 }
    56 }
    56 
    57