xref: /haiku/src/add-ons/kernel/drivers/audio/echo/generic/CIndigoDJDspCommObject.cpp (revision 626bc4bee107897c38c596c3440cf0a74b4b9c40)
1 // ****************************************************************************
2 //
3 //  	CIndigoDJDspCommObject.cpp
4 //
5 //		Implementation file for EchoGals generic driver Indigo DJ DSP
6 //		interface class.
7 //
8 // ----------------------------------------------------------------------------
9 //
10 // This file is part of Echo Digital Audio's generic driver library.
11 // Copyright Echo Digital Audio Corporation (c) 1998 - 2005
12 // All rights reserved
13 // www.echoaudio.com
14 //
15 // This library is free software; you can redistribute it and/or
16 // modify it under the terms of the GNU Lesser General Public
17 // License as published by the Free Software Foundation; either
18 // version 2.1 of the License, or (at your option) any later version.
19 //
20 // This library is distributed in the hope that it will be useful,
21 // but WITHOUT ANY WARRANTY; without even the implied warranty of
22 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
23 // Lesser General Public License for more details.
24 //
25 // You should have received a copy of the GNU Lesser General Public
26 // License along with this library; if not, write to the Free Software
27 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28 //
29 // ****************************************************************************
30 
31 #include "CEchoGals.h"
32 #include "CIndigoDJDspCommObject.h"
33 
34 #ifdef ECHO_WDM
35 #pragma optimize("",off)
36 #endif
37 #include "IndigoDJDSP.c"
38 
39 
40 //
41 //	Construction/destruction
42 //
CIndigoDJDspCommObject(PDWORD pdwRegBase,PCOsSupport pOsSupport)43 CIndigoDJDspCommObject::CIndigoDJDspCommObject
44 (
45 	PDWORD		pdwRegBase,				// Virtual ptr to DSP registers
46 	PCOsSupport	pOsSupport
47 ) : CIndigoDspCommObject( pdwRegBase, pOsSupport )
48 {
49 	strcpy( m_szCardName, "Indigo dj" );
50 
51 	m_wNumBussesOut = 4;
52 	m_wFirstDigitalBusOut = m_wNumBussesOut;
53 
54 	m_pwDspCodeToLoad = pwIndigodjDSP;
55 
56 }	// CIndigoDJDspCommObject::CIndigoDJDspCommObject( DWORD dwPhysRegBase )
57 
58 
~CIndigoDJDspCommObject()59 CIndigoDJDspCommObject::~CIndigoDJDspCommObject()
60 {
61 }	// CIndigoDJDspCommObject::~CIndigoDJDspCommObject()
62 
63 
64 // **** CIndigoDJDspCommObject.cpp ****
65