diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-12-27 11:09:46 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-12-27 11:09:46 +0000 |
| commit | b5dc393952c84dbd53c60afb8d367ad99bbd16ca (patch) | |
| tree | d8c1ffc992fa60391f04179550a946a056b9b4de /src/plugins/Effect/ladspa/ladspahost.h | |
| parent | d8525aed2bc18ac54e65a996d38df934966c0c7c (diff) | |
| download | qmmp-b5dc393952c84dbd53c60afb8d367ad99bbd16ca.tar.gz qmmp-b5dc393952c84dbd53c60afb8d367ad99bbd16ca.tar.bz2 qmmp-b5dc393952c84dbd53c60afb8d367ad99bbd16ca.zip | |
ported all effect plugins
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5899 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Effect/ladspa/ladspahost.h')
| -rw-r--r-- | src/plugins/Effect/ladspa/ladspahost.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/Effect/ladspa/ladspahost.h b/src/plugins/Effect/ladspa/ladspahost.h index b296fce38..df83c8083 100644 --- a/src/plugins/Effect/ladspa/ladspahost.h +++ b/src/plugins/Effect/ladspa/ladspahost.h @@ -1,7 +1,7 @@ /*************************************************************************** * Copyright (C) 2002,2003 Nick Lamb <njl195@zepler.org.uk> * * Copyright (C) 2005 Giacomo Lozito <city_hunter@users.sf.net> * - * Copyright (C) 2009 by Ilya Kotov <forkotov02@hotmail.ru> * + * Copyright (C) 2009-2015 by Ilya Kotov <forkotov02@hotmail.ru> * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -24,6 +24,7 @@ #include <QMutex> #include <QList> #include <QObject> +#include <stddef.h> #include <qmmp/qmmp.h> #include "ladspa.h" @@ -84,8 +85,8 @@ public: virtual ~LADSPAHost(); - int applyEffect(qint16 *d, int length); - void configure(quint32 freq, int chan, Qmmp::AudioFormat format); + int applyEffect(float *data, size_t samples); + void configure(quint32 freq, int chan); QList <LADSPAPlugin *> plugins(); QList <LADSPAEffect *> effects(); LADSPAEffect *addPlugin(LADSPAPlugin * plugin); @@ -106,7 +107,7 @@ private: LADSPA_Data m_left[MAX_SAMPLES], m_right[MAX_SAMPLES], m_trash[MAX_SAMPLES]; static LADSPAHost *m_instance; - int m_chan, m_prec; + int m_chan; quint32 m_freq; }; |
