![]() |
Mixxx
|
00001 /*************************************************************************** 00002 enginebufferscale.cpp - 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 #include "engine/enginebufferscale.h" 00019 00020 EngineBufferScale::EngineBufferScale() 00021 { 00022 m_dTempo = 1.; 00023 buffer = new CSAMPLE[MAX_BUFFER_LEN]; 00024 new_playpos = 0; 00025 } 00026 00027 EngineBufferScale::~EngineBufferScale() 00028 { 00029 delete [] buffer; 00030 } 00031 00032 double EngineBufferScale::getNewPlaypos() 00033 { 00034 return new_playpos; 00035 }