summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/PDa/intern/powtodb~.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2009-07-03 22:16:11 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2009-07-03 22:16:11 +0000
commit0d4560cb0305029fa5f0739670286176ab47cb65 (patch)
tree9899f4324664a77e6a5884fdd1541818a28a2172 /apps/plugins/pdbox/PDa/intern/powtodb~.c
parenteabeb928ddfdbe5fc6379efb87d9522803310649 (diff)
downloadrockbox-0d4560cb0305029fa5f0739670286176ab47cb65.tar.gz
rockbox-0d4560cb0305029fa5f0739670286176ab47cb65.zip
Accept FS #10244 by Wincent Balin: more pdbox work done for GSoC; also some keyword and line-ending fixes by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21626 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pdbox/PDa/intern/powtodb~.c')
-rw-r--r--apps/plugins/pdbox/PDa/intern/powtodb~.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/intern/powtodb~.c b/apps/plugins/pdbox/PDa/intern/powtodb~.c
index 5fead1511c..1714c8855e 100644
--- a/apps/plugins/pdbox/PDa/intern/powtodb~.c
+++ b/apps/plugins/pdbox/PDa/intern/powtodb~.c
@@ -1,3 +1,8 @@
1#ifdef ROCKBOX
2#include "plugin.h"
3#include "pdbox.h"
4#endif
5
1#include <m_pd.h> 6#include <m_pd.h>
2#include <m_fixed.h> 7#include <m_fixed.h>
3 8
@@ -39,6 +44,9 @@ static t_int *powtodb_tilde_perform(t_int *w)
39 44
40static void powtodb_tilde_dsp(t_powtodb_tilde *x, t_signal **sp) 45static void powtodb_tilde_dsp(t_powtodb_tilde *x, t_signal **sp)
41{ 46{
47#ifdef ROCKBOX
48 (void) x;
49#endif
42 post("warning: %s not usable yet",__FUNCTION__); 50 post("warning: %s not usable yet",__FUNCTION__);
43 dsp_add(powtodb_tilde_perform, 3, sp[0]->s_vec, sp[1]->s_vec, sp[0]->s_n); 51 dsp_add(powtodb_tilde_perform, 3, sp[0]->s_vec, sp[1]->s_vec, sp[0]->s_n);
44} 52}