diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-10-06 08:04:15 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-10-06 08:04:15 +0000 |
| commit | 89c9b024bb264f2ea7b07e0dbcc1d80ad374597a (patch) | |
| tree | b5ce75480489c353bad1c0a8390bfe6b8c6b1cad /src/plugins/Effect/bs2b | |
| parent | 3a67c2b55bc6c7fddfd2d8ac0468aa136319ffca (diff) | |
| download | qmmp-89c9b024bb264f2ea7b07e0dbcc1d80ad374597a.tar.gz qmmp-89c9b024bb264f2ea7b07e0dbcc1d80ad374597a.tar.bz2 qmmp-89c9b024bb264f2ea7b07e0dbcc1d80ad374597a.zip | |
ported effect plugins
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4532 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Effect/bs2b')
| -rw-r--r-- | src/plugins/Effect/bs2b/bs2bplugin.cpp | 8 | ||||
| -rw-r--r-- | src/plugins/Effect/bs2b/bs2bplugin.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/Effect/bs2b/bs2bplugin.cpp b/src/plugins/Effect/bs2b/bs2bplugin.cpp index 18ec681f3..252f3e0ff 100644 --- a/src/plugins/Effect/bs2b/bs2bplugin.cpp +++ b/src/plugins/Effect/bs2b/bs2bplugin.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009 by Ilya Kotov <forkotov02@hotmail.ru> * + * Copyright (C) 2009-2014 by Ilya Kotov <forkotov02@hotmail.ru> * * Copyright (C) 2009 by Sebastian Pipping <sebastian@pipping.org> * * * * This program is free software; you can redistribute it and/or modify * @@ -67,10 +67,10 @@ void Bs2bPlugin::applyEffect(Buffer *b) m_mutex.unlock(); } -void Bs2bPlugin::configure(quint32 freq, int chan, Qmmp::AudioFormat format) +void Bs2bPlugin::configure(quint32 freq, ChannelMap map, Qmmp::AudioFormat format) { - m_chan = chan; - Effect::configure(freq, chan, format); + m_chan = map.count(); + Effect::configure(freq, map, format); bs2b_set_srate(m_bs2b_handler,freq); } diff --git a/src/plugins/Effect/bs2b/bs2bplugin.h b/src/plugins/Effect/bs2b/bs2bplugin.h index b9b394e1a..8bb30f6b4 100644 --- a/src/plugins/Effect/bs2b/bs2bplugin.h +++ b/src/plugins/Effect/bs2b/bs2bplugin.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2010 by Ilya Kotov * + * Copyright (C) 2010-2014 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -36,7 +36,7 @@ public: virtual ~Bs2bPlugin(); void applyEffect(Buffer *b); - void configure(quint32 freq, int chan, Qmmp::AudioFormat format); + void configure(quint32 freq, ChannelMap map, Qmmp::AudioFormat format); void setCrossfeedLevel(uint32_t level); static Bs2bPlugin* instance(); |
