summaryrefslogtreecommitdiff
path: root/lib/rbcodec/dsp/dsp_misc.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-05-23 14:19:06 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-05-23 14:25:37 -0400
commit6e211ab3ac36cf792f6412cd61b8336c12533778 (patch)
treeb4136d81ba1719a24ed60c4bac75862111945024 /lib/rbcodec/dsp/dsp_misc.h
parentb7e0e1a0a3b44868ddb9ad60210158ccbe220e90 (diff)
downloadrockbox-6e211ab3ac36cf792f6412cd61b8336c12533778.tar.gz
rockbox-6e211ab3ac36cf792f6412cd61b8336c12533778.zip
Remove dsp_callback because DSP is now library code, not app code.
Yep, nope, not necessary anymore. Just call functions directly. Change-Id: I21dc35f8d674c2a9c8379b7cebd5613c1f05b5eb
Diffstat (limited to 'lib/rbcodec/dsp/dsp_misc.h')
-rw-r--r--lib/rbcodec/dsp/dsp_misc.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/lib/rbcodec/dsp/dsp_misc.h b/lib/rbcodec/dsp/dsp_misc.h
index 2583f495c3..2fed9400f2 100644
--- a/lib/rbcodec/dsp/dsp_misc.h
+++ b/lib/rbcodec/dsp/dsp_misc.h
@@ -54,18 +54,9 @@ struct dsp_replay_gains
54 54
55void dsp_replaygain_set_settings(const struct replaygain_settings *settings); 55void dsp_replaygain_set_settings(const struct replaygain_settings *settings);
56 56
57/* Callback for firmware layers to interface */ 57#ifdef HAVE_PITCHCONTROL
58enum 58void dsp_set_pitch(int32_t pitch);
59{ 59int32_t dsp_get_pitch(void);
60 DSP_CALLBACK_SET_PRESCALE = 0, 60#endif /* HAVE_PITCHCONTROL */
61 DSP_CALLBACK_SET_BASS,
62 DSP_CALLBACK_SET_TREBLE,
63 DSP_CALLBACK_SET_CHANNEL_CONFIG,
64 DSP_CALLBACK_SET_STEREO_WIDTH,
65 DSP_CALLBACK_SET_PITCH,
66 DSP_CALLBACK_GET_PITCH,
67};
68
69int dsp_callback(int msg, intptr_t param);
70 61
71#endif /* DSP_MISC_H */ 62#endif /* DSP_MISC_H */