1 /******************************************************************************** 2 * 3 * family.h 4 * 5 * This header file deals with variations between the different families of 6 * products. Current families: 7 * 8 * Echogals - Darla20, Gina20, Layla20, and Darla24 9 * Echo24 - Gina24, Layla24, Mona, and Mia 10 * 11 * ---------------------------------------------------------------------------- 12 * 13 * Copyright Echo Digital Audio Corporation (c) 1998 - 2002 14 * All rights reserved 15 * www.echoaudio.com 16 * 17 * Permission is hereby granted, free of charge, to any person obtaining a 18 * copy of this software and associated documentation files (the 19 * "Software"), to deal with the Software without restriction, including 20 * without limitation the rights to use, copy, modify, merge, publish, 21 * distribute, sublicense, and/or sell copies of the Software, and to 22 * permit persons to whom the Software is furnished to do so, subject to 23 * the following conditions: 24 * 25 * - Redistributions of source code must retain the above copyright 26 * notice, this list of conditions and the following disclaimers. 27 * 28 * - Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimers in the 30 * documentation and/or other materials provided with the distribution. 31 * 32 * - Neither the name of Echo Digital Audio, nor the names of its 33 * contributors may be used to endorse or promote products derived from 34 * this Software without specific prior written permission. 35 * 36 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 37 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 38 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 39 * IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR 40 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 41 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 42 * SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. 43 * 44 * 45 ********************************************************************************/ 46 47 #ifndef _FAMILY_H_ 48 #define _FAMILY_H_ 49 50 //=========================================================================== 51 // 52 // Echogals 53 // 54 // To build an Echogals driver, make sure and #define ECHOGALS_FAMILY 55 // 56 //=========================================================================== 57 58 #ifdef ECHOGALS_FAMILY 59 60 #define MIDI_SUPPORT 61 62 #define NUM_ASIC_TESTS 5 63 #define READ_DSP_TIMEOUT 1000000L // one second 64 65 #endif // ECHOGALS_FAMILY 66 67 68 //=========================================================================== 69 // 70 // Echo24 71 // 72 // To build an Echo24 driver, make sure and #define ECHO24_FAMILY 73 // 74 //=========================================================================== 75 76 #ifdef ECHO24_FAMILY 77 78 #define MIDI_SUPPORT 79 80 #define DSP_56361 // Some Echo24 cards use the 56361 DSP 81 82 #define DIGITAL_INPUT_AUTO_MUTE_SUPPORT // Gina24, Layla24, and Mona 83 84 #define NUM_ASIC_TESTS 1 85 86 #define READ_DSP_TIMEOUT 100000L // .1 second 87 88 #define STEREO_BIG_ENDIAN32_SUPPORT 89 90 #endif // ECHO24_FAMILY 91 92 93 94 #endif // _FAMILY_H_ 95