vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / kernel / drivers / audio / echo / generic / CGinaDspCommObject.h
blob6a7aa669ac6cc79668c4b0a2e650a941ae158f7c
1 // ****************************************************************************
2 //
3 // CGinaDspCommObject.H
4 //
5 // Include file for EchoGals generic driver Gina 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
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 #ifndef _GINADSPCOMMOBJECT_
31 #define _GINADSPCOMMOBJECT_
33 #include "CGdDspCommObject.h"
36 class CGinaDspCommObject : public CGdDspCommObject
38 public:
40 // Construction/destruction
42 CGinaDspCommObject( PDWORD pdwRegBase, PCOsSupport pOsSupport );
43 virtual ~CGinaDspCommObject();
46 // Card information
48 virtual WORD GetCardType()
49 { return( GINA ); }
52 // Set input clock
54 virtual ECHOSTATUS SetInputClock(WORD wClock);
56 protected:
58 }; // class CGinaDspCommObject
60 typedef CGinaDspCommObject * PCGinaDspCommObject;
62 #endif
64 // **** GinaDspCommObject.h ****