Mixxx

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

Go to the documentation of this file.
00001 /***************************************************************************
00002                           enginebufferscale.h  -  description
00003                              -------------------
00004     begin                : Sun Apr 13 2003
00005     copyright            : (C) 2003 by Tue & Ken Haste Andersen
00006     email                : haste@diku.dk
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 ENGINEBUFFERSCALEDUMMY_H
00019 #define ENGINEBUFFERSCALEDUMMY_H
00020 
00021 #include "defs.h"
00022 #include <QObject>
00023 #include "engine/enginebufferscale.h"
00024 
00025 class ReadAheadManager;
00026 
00027 class EngineBufferScaleDummy : public EngineBufferScale
00028 {
00029 public:
00030     EngineBufferScaleDummy(ReadAheadManager* pReadAheadManager);
00031     ~EngineBufferScaleDummy();
00032 
00034     void setBaseRate(double dBaseRate);
00036     double setTempo(double dTempo);
00038     double getNewPlaypos();
00040     void clear();
00042     CSAMPLE* scale(double playpos,
00043                    unsigned long buf_size,
00044                    CSAMPLE* pBase,
00045                    unsigned long iBaseLength);
00046 
00047 private:
00048     ReadAheadManager* m_pReadAheadManager;
00049 
00050 };
00051 
00052 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines