![]() |
Mixxx
|
00001 /*************************************************************************** 00002 engineobject.h - description 00003 ------------------- 00004 begin : Wed Feb 20 2002 00005 copyright : (C) 2002 by Tue and Ken Haste Andersen 00006 email : 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef ENGINEOBJECT_H 00019 #define ENGINEOBJECT_H 00020 00021 #include <qobject.h> 00022 #include "defs.h" 00023 00028 class EngineObject : public QObject { 00029 Q_OBJECT 00030 public: 00031 EngineObject(); 00032 virtual ~EngineObject(); 00033 virtual void process(const CSAMPLE *pIn, const CSAMPLE *pOut, const int iLen) = 0; 00034 // static int getPlaySrate(); 00035 00036 //protected: 00037 // void setPlaySrate(int srate); 00038 00039 //private: 00040 // static int PLAY_SRATE; 00041 }; 00042 00043 00044 #endif