eas_synthcfg.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. * Licensed under the Apache License, Version 2.0 (the "License");
  11. * you may not use this file except in compliance with the License.
  12. * You may obtain a copy of the License at
  13. *
  14. * http://www.apache.org/licenses/LICENSE-2.0
  15. *
  16. * Unless required by applicable law or agreed to in writing, software
  17. * distributed under the License is distributed on an "AS IS" BASIS,
  18. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  19. * See the License for the specific language governing permissions and
  20. * limitations under the License.
  21. *
  22. *----------------------------------------------------------------------------
  23. * Revision Control:
  24. * $Revision: 664 $
  25. * $Date: 2007-04-25 13:11:22 -0700 (Wed, 25 Apr 2007) $
  26. *----------------------------------------------------------------------------
  27. */
  28. #ifndef _EAS_SYNTHCFG_H
  29. #define _EAS_SYNTHCFG_H
  30. #if defined(EAS_WT_SYNTH)
  31. #define _WT_SYNTH
  32. /* FM on MCU */
  33. #elif defined(EAS_FM_SYNTH)
  34. #define _FM_SYNTH
  35. /* wavetable drums and FM melodic on MCU */
  36. #elif defined(EAS_HYBRID_SYNTH)
  37. #define _WT_SYNTH
  38. #define _FM_SYNTH
  39. #define _SECONDARY_SYNTH
  40. #define _HYBRID_SYNTH
  41. /* wavetable drums on MCU, wavetable melodic on DSP */
  42. #elif defined(EAS_SPLIT_WT_SYNTH)
  43. #define _WT_SYNTH
  44. #define _SPLIT_ARCHITECTURE
  45. /* wavetable drums on MCU, FM melodic on DSP */
  46. #elif defined(EAS_SPLIT_HYBRID_SYNTH)
  47. #define _WT_SYNTH
  48. #define _FM_SYNTH
  49. #define _SECONDARY_SYNTH
  50. #define _SPLIT_ARCHITECTURE
  51. #define _HYBRID_SYNTH
  52. /* FM synth on DSP */
  53. #elif defined(EAS_SPLIT_FM_SYNTH)
  54. #define _FM_SYNTH
  55. #define _SPLIT_ARCHITECTURE
  56. #else
  57. #error "Unrecognized architecture option"
  58. #endif
  59. #endif