Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/engine/enginedelay.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           enginedelay.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 ENGINEDELAY_H
00018 #define ENGINEDELAY_H
00019 
00020 #include "engineobject.h"
00021 
00022 class ControlPotmeter;
00023 
00024 const int kiMaxDelay = 20000; 
00025 
00026 class EngineDelay : public EngineObject
00027 {
00028 public:
00029     EngineDelay(const char *group);
00030     ~EngineDelay();
00031     void process(const CSAMPLE *pIn, const CSAMPLE *pOut, const int iBufferSize);
00032 private:
00033     ControlPotmeter *m_pPotmeter;
00034     CSAMPLE *m_pDelayBuffer;
00035     int m_iDelay, m_iDelayPos;
00036 };
00037 
00038 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines