![]() |
Mixxx
|
00001 /*************************************************************************** 00002 engineclipping.h - description 00003 ------------------- 00004 copyright : (C) 2002 by Tue and Ken Haste Andersen 00005 email : 00006 ***************************************************************************/ 00007 00008 /*************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 00017 #ifndef ENGINECLIPPING_H 00018 #define ENGINECLIPPING_H 00019 00020 #include "engineobject.h" 00021 #include "controlpotmeter.h" 00022 00023 class EngineClipping : public EngineObject 00024 { 00025 private: 00026 bool clipped; 00027 ControlPotmeter *m_ctrlClipping; 00028 public: 00029 EngineClipping(const char *group); 00030 ~EngineClipping(); 00031 void process(const CSAMPLE *pIn, const CSAMPLE *pOut, const int iBufferSize); 00032 bool hasClipped(); 00033 }; 00034 00035 #endif 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053