From b5dc393952c84dbd53c60afb8d367ad99bbd16ca Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sun, 27 Dec 2015 11:09:46 +0000 Subject: ported all effect plugins git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5899 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Effect/ladspa/ladspahelper.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/plugins/Effect/ladspa/ladspahelper.cpp') diff --git a/src/plugins/Effect/ladspa/ladspahelper.cpp b/src/plugins/Effect/ladspa/ladspahelper.cpp index 338f16757..b844040d6 100644 --- a/src/plugins/Effect/ladspa/ladspahelper.cpp +++ b/src/plugins/Effect/ladspa/ladspahelper.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009-2014 by Ilya Kotov * + * Copyright (C) 2009-2015 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -33,11 +33,11 @@ LADSPAHelper::~LADSPAHelper() void LADSPAHelper::applyEffect(Buffer *b) { - LADSPAHost::instance()->applyEffect((qint16 *)b->data, b->nbytes); + LADSPAHost::instance()->applyEffect(b->data, b->samples); } -void LADSPAHelper::configure(quint32 freq, ChannelMap map, Qmmp::AudioFormat format) +void LADSPAHelper::configure(quint32 freq, ChannelMap map) { - LADSPAHost::instance()->configure(freq,map.count(),format); - Effect::configure(freq, map, format); + LADSPAHost::instance()->configure(freq,map.count()); + Effect::configure(freq, map); } -- cgit v1.2.3-13-gbd6f