1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2006 Thom Johansen
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
27 #if defined(CPU_COLDFIRE) || defined(CPU_ARM)
28 #define DSP_HAVE_ASM_CROSSFEED
29 void apply_crossfeed(int count
, int32_t *buf
[]);
30 #endif /* defined(CPU_COLDFIRE) || defined(CPU_ARM) */
32 #if defined (CPU_COLDFIRE)
33 #define DSP_HAVE_ASM_RESAMPLING
34 int dsp_downsample(int count
, struct dsp_data
*data
, int32_t *src
[], int32_t *dst
[]);
35 int dsp_upsample(int count
, struct dsp_data
*data
, int32_t *src
[], int32_t *dst
[]);
37 #define DSP_HAVE_ASM_SOUND_CHAN_MONO
38 void channels_process_sound_chan_mono(int count
, int32_t *buf
[]);
39 #define DSP_HAVE_ASM_SOUND_CHAN_CUSTOM
40 void channels_process_sound_chan_custom(int count
, int32_t *buf
[]);
41 #define DSP_HAVE_ASM_SOUND_CHAN_KARAOKE
42 void channels_process_sound_chan_karaoke(int count
, int32_t *buf
[]);
44 #define DSP_HAVE_ASM_SAMPLE_OUTPUT_MONO
45 void sample_output_mono(int count
, struct dsp_data
*data
,
46 int32_t *src
[], int16_t *dst
);
47 #define DSP_HAVE_ASM_SAMPLE_OUTPUT_STEREO
48 void sample_output_stereo(int count
, struct dsp_data
*data
,
49 int32_t *src
[], int16_t *dst
);
50 #endif /* CPU_COLDFIRE */
52 #endif /* SIMULATOR */
54 #endif /* _DSP_ASM_H */