summaryrefslogtreecommitdiff
path: root/lib/rbcodec/dsp/dsp_proc_database.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/dsp/dsp_proc_database.h')
-rw-r--r--lib/rbcodec/dsp/dsp_proc_database.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/lib/rbcodec/dsp/dsp_proc_database.h b/lib/rbcodec/dsp/dsp_proc_database.h
new file mode 100644
index 0000000000..55f10e684b
--- /dev/null
+++ b/lib/rbcodec/dsp/dsp_proc_database.h
@@ -0,0 +1,57 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2012 Michael Sevakis
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/****************************************************************************
23 * -_-~-_-~-_-~-_-~-_-~-_- Main database of effects _-~-_-~-_-~-_-~-_-~-_-~-
24 *
25 * Order is not particularly relevant and has no intended correlation with
26 * IDs.
27 *
28 * Notable exceptions in ordering:
29 * * Sample input: which is first in line and has special responsibilities
30 * (not an effect per se).
31 * * Anything that depends on the native sample rate must go after the
32 * resampling stage.
33 * * Some bizarre dependency I didn't think of but you decided to implement.
34 * * Sample output: Naturally, this takes the final result and converts it
35 * to the target PCM format (not an effect per se).
36 */
37DSP_PROC_DB_START
38 DSP_PROC_DB_ITEM(MISC_HANDLER) /* misc stuff (null stage) */
39 DSP_PROC_DB_ITEM(PGA) /* pre-gain amp */
40#ifdef HAVE_PITCHSCREEN
41 DSP_PROC_DB_ITEM(TIMESTRETCH) /* time-stretching */
42#endif
43 DSP_PROC_DB_ITEM(RESAMPLE) /* resampler providing NATIVE_FREQUENCY */
44 DSP_PROC_DB_ITEM(CROSSFEED) /* stereo crossfeed */
45 DSP_PROC_DB_ITEM(EQUALIZER) /* n-band equalizer */
46#ifdef HAVE_SW_TONE_CONTROLS
47 DSP_PROC_DB_ITEM(TONE_CONTROLS) /* bass and treble */
48#endif
49 DSP_PROC_DB_ITEM(CHANNEL_MODE) /* channel modes */
50 DSP_PROC_DB_ITEM(COMPRESSOR) /* dynamic-range compressor */
51DSP_PROC_DB_STOP
52
53/* This file is included multiple times with different macro definitions so
54 clean up the current ones */
55#undef DSP_PROC_DB_START
56#undef DSP_PROC_DB_ITEM
57#undef DSP_PROC_DB_STOP