1/*----------------------------------------------------------------------------
2 *
3 * File:
4 * eas_synthcfg.h
5 *
6 * Contents and purpose:
7 * Defines for various synth configurations
8 *
9 * Copyright Sonic Network Inc. 2004, 2005
10
11 * Licensed under the Apache License, Version 2.0 (the "License");
12 * you may not use this file except in compliance with the License.
13 * You may obtain a copy of the License at
14 *
15 *      http://www.apache.org/licenses/LICENSE-2.0
16 *
17 * Unless required by applicable law or agreed to in writing, software
18 * distributed under the License is distributed on an "AS IS" BASIS,
19 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 * See the License for the specific language governing permissions and
21 * limitations under the License.
22 *
23 *----------------------------------------------------------------------------
24 * Revision Control:
25 *   $Revision: 664 $
26 *   $Date: 2007-04-25 13:11:22 -0700 (Wed, 25 Apr 2007) $
27 *----------------------------------------------------------------------------
28*/
29
30#ifndef _EAS_SYNTHCFG_H
31#define _EAS_SYNTHCFG_H
32
33#if defined(EAS_WT_SYNTH)
34#define _WT_SYNTH
35
36/* FM on MCU */
37#elif defined(EAS_FM_SYNTH)
38#define _FM_SYNTH
39
40/* wavetable drums and FM melodic on MCU */
41#elif defined(EAS_HYBRID_SYNTH)
42#define _WT_SYNTH
43#define _FM_SYNTH
44#define _SECONDARY_SYNTH
45#define _HYBRID_SYNTH
46
47/* wavetable drums on MCU, wavetable melodic on DSP */
48#elif defined(EAS_SPLIT_WT_SYNTH)
49#define _WT_SYNTH
50#define _SPLIT_ARCHITECTURE
51
52/* wavetable drums on MCU, FM melodic on DSP */
53#elif defined(EAS_SPLIT_HYBRID_SYNTH)
54#define _WT_SYNTH
55#define _FM_SYNTH
56#define _SECONDARY_SYNTH
57#define _SPLIT_ARCHITECTURE
58#define _HYBRID_SYNTH
59
60/* FM synth on DSP */
61#elif defined(EAS_SPLIT_FM_SYNTH)
62#define _FM_SYNTH
63#define _SPLIT_ARCHITECTURE
64
65#else
66#error "Unrecognized architecture option"
67#endif
68
69#endif
70
71