1 // ****************************************************************************
3 // CDarlaDspCommObject.cpp
5 // Implementation file for Darla20 DSP interface class.
7 // ----------------------------------------------------------------------------
9 // This file is part of Echo Digital Audio's generic driver library.
10 // Copyright Echo Digital Audio Corporation (c) 1998 - 2005
11 // All rights reserved
14 // This library is free software; you can redistribute it and/or
15 // modify it under the terms of the GNU Lesser General Public
16 // License as published by the Free Software Foundation; either
17 // version 2.1 of the License, or (at your option) any later version.
19 // This library is distributed in the hope that it will be useful,
20 // but WITHOUT ANY WARRANTY; without even the implied warranty of
21 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 // Lesser General Public License for more details.
24 // You should have received a copy of the GNU Lesser General Public
25 // License along with this library; if not, write to the Free Software
26 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 // ****************************************************************************
30 #include "CEchoGals.h"
31 #include "CDarlaDspCommObject.h"
33 #include "Darla20DSP.c"
36 /****************************************************************************
38 Construction and destruction
40 ****************************************************************************/
42 //===========================================================================
46 //===========================================================================
48 CDarlaDspCommObject::CDarlaDspCommObject
50 PDWORD pdwRegBase
, // Virtual ptr to DSP registers
51 PCOsSupport pOsSupport
52 ) : CGdDspCommObject( pdwRegBase
, pOsSupport
)
54 strcpy( m_szCardName
, "Darla" );
55 m_pdwDspRegBase
= pdwRegBase
; // Virtual addr DSP's register base
61 m_wFirstDigitalBusOut
= 8;
62 m_wFirstDigitalBusIn
= 2;
66 m_wNumMidiOut
= 0; // # MIDI out channels
67 m_wNumMidiIn
= 0; // # MIDI in channels
69 m_pwDspCodeToLoad
= pwDarla20DSP
;
72 // Since this card has no ASIC, mark it as loaded so everything works OK
76 } // CDarlaDspCommObject::CDarlaDspCommObject( DWORD dwPhysRegBase )
79 //===========================================================================
83 //===========================================================================
85 CDarlaDspCommObject::~CDarlaDspCommObject()
87 } // CDarlaDspCommObject::~CDarlaDspCommObject()
89 // **** DarlaDspCommObject.cpp ****