1 // **************************************************************************** 2 // 3 // CDarla24DspCommObject.H 4 // 5 // Include file for EchoGals generic driver Darla24 DSP interface class. 6 // 7 // ---------------------------------------------------------------------------- 8 // 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 12 // www.echoaudio.com 13 // 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. 18 // 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. 23 // 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 27 // 28 // **************************************************************************** 29 30 #ifndef _DARLA24DSPCOMMOBJECT_ 31 #define _DARLA24DSPCOMMOBJECT_ 32 33 #include "CGdDspCommObject.h" 34 35 36 class CDarla24DspCommObject : public CGdDspCommObject 37 { 38 public: 39 // 40 // Construction/destruction 41 // 42 CDarla24DspCommObject( PDWORD pdwRegBase, PCOsSupport pOsSupport ); 43 virtual ~CDarla24DspCommObject(); 44 45 // 46 // Set the DSP sample rate. 47 // Return rate that was set, -1 if error 48 // 49 virtual DWORD SetSampleRate( DWORD dwNewSampleRate ); 50 using CGdDspCommObject::SetSampleRate; 51 52 // 53 // Card information 54 // 55 virtual WORD GetCardType() 56 { return DARLA24; } 57 58 // 59 // Set input clock 60 // 61 virtual ECHOSTATUS SetInputClock(WORD wClock); 62 63 protected: 64 65 }; // class CDarla24DspCommObject 66 67 typedef CDarla24DspCommObject * PCDarla24DspCommObject; 68 69 #endif 70 71 // **** Darla24DspCommObject.h **** 72