summaryrefslogtreecommitdiff
path: root/apps/dsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dsp.h')
-rw-r--r--apps/dsp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/dsp.h b/apps/dsp.h
index 63dc68cbb4..03118e8c31 100644
--- a/apps/dsp.h
+++ b/apps/dsp.h
@@ -51,6 +51,12 @@ enum
51 DSP_CROSSFEED 51 DSP_CROSSFEED
52}; 52};
53 53
54enum {
55 DSP_CALLBACK_SET_PRESCALE = 0,
56 DSP_CALLBACK_SET_BASS,
57 DSP_CALLBACK_SET_TREBLE
58};
59
54/* A bunch of fixed point assembler helper macros */ 60/* A bunch of fixed point assembler helper macros */
55#if defined(CPU_COLDFIRE) && !defined(SIMULATOR) 61#if defined(CPU_COLDFIRE) && !defined(SIMULATOR)
56/* These macros use the Coldfire EMAC extension and need the MACSR flags set 62/* These macros use the Coldfire EMAC extension and need the MACSR flags set
@@ -209,6 +215,7 @@ void dsp_set_eq_precut(int precut);
209void dsp_set_eq_coefs(int band); 215void dsp_set_eq_coefs(int band);
210void sound_set_pitch(int r); 216void sound_set_pitch(int r);
211int sound_get_pitch(void); 217int sound_get_pitch(void);
218int dsp_callback(int msg, intptr_t param);
212void channels_set(int value); 219void channels_set(int value);
213void stereo_width_set(int value); 220void stereo_width_set(int value);
214void dsp_dither_enable(bool enable); 221void dsp_dither_enable(bool enable);