summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2012-05-08 16:34:26 +0200
committerNils Wallménius <nils@rockbox.org>2012-05-09 14:32:38 +0200
commitd29a11b7a8f4ce230e9385a44f352a559bde753f (patch)
tree6fb4dc1699be894e5495dd862941606442239bfc /apps/plugin.h
parentd26a35d10b9e2f808b0e4880d5b5d1a2963258e9 (diff)
downloadrockbox-d29a11b7a8f4ce230e9385a44f352a559bde753f.tar.gz
rockbox-d29a11b7a8f4ce230e9385a44f352a559bde753f.zip
Rename HAVE_PITCHSCREEN to HAVE_PITCHCONTROL
Also move the definition to config.h Change-Id: I36bb5020c5e06b2344292bc05e8c13ccc7a6a1ff Reviewed-on: http://gerrit.rockbox.org/234 Reviewed-by: Nils Wallménius <nils@rockbox.org>
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 3f63b9a749..b1d3c16979 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -685,7 +685,7 @@ struct plugin_api {
685 void (*dsp_crossfeed_enable)(bool enable); 685 void (*dsp_crossfeed_enable)(bool enable);
686 void (*dsp_eq_enable)(bool enable); 686 void (*dsp_eq_enable)(bool enable);
687 void (*dsp_dither_enable)(bool enable); 687 void (*dsp_dither_enable)(bool enable);
688#ifdef HAVE_PITCHSCREEN 688#ifdef HAVE_PITCHCONTROL
689 void (*dsp_set_timestretch)(int32_t percent); 689 void (*dsp_set_timestretch)(int32_t percent);
690#endif 690#endif
691 intptr_t (*dsp_configure)(struct dsp_config *dsp, 691 intptr_t (*dsp_configure)(struct dsp_config *dsp,
@@ -742,7 +742,7 @@ struct plugin_api {
742 unsigned long (*mpeg_get_last_header)(void); 742 unsigned long (*mpeg_get_last_header)(void);
743#endif 743#endif
744#if ((CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) || \ 744#if ((CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) || \
745 (CONFIG_CODEC == SWCODEC)) && defined (HAVE_PITCHSCREEN) 745 (CONFIG_CODEC == SWCODEC)) && defined (HAVE_PITCHCONTROL)
746 void (*sound_set_pitch)(int32_t pitch); 746 void (*sound_set_pitch)(int32_t pitch);
747#endif 747#endif
748 748