From 6e211ab3ac36cf792f6412cd61b8336c12533778 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Thu, 23 May 2013 14:19:06 -0400 Subject: Remove dsp_callback because DSP is now library code, not app code. Yep, nope, not necessary anymore. Just call functions directly. Change-Id: I21dc35f8d674c2a9c8379b7cebd5613c1f05b5eb --- lib/rbcodec/dsp/dsp_misc.h | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'lib/rbcodec/dsp/dsp_misc.h') 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 void dsp_replaygain_set_settings(const struct replaygain_settings *settings); -/* Callback for firmware layers to interface */ -enum -{ - DSP_CALLBACK_SET_PRESCALE = 0, - DSP_CALLBACK_SET_BASS, - DSP_CALLBACK_SET_TREBLE, - DSP_CALLBACK_SET_CHANNEL_CONFIG, - DSP_CALLBACK_SET_STEREO_WIDTH, - DSP_CALLBACK_SET_PITCH, - DSP_CALLBACK_GET_PITCH, -}; - -int dsp_callback(int msg, intptr_t param); +#ifdef HAVE_PITCHCONTROL +void dsp_set_pitch(int32_t pitch); +int32_t dsp_get_pitch(void); +#endif /* HAVE_PITCHCONTROL */ #endif /* DSP_MISC_H */ -- cgit v1.2.3