removed already broken support for building LMMS without libsamplerate

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@499 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2007-07-29 20:33:13 +00:00
parent eb99ab60db
commit 22f1720701
7 changed files with 32 additions and 316 deletions

View File

@@ -46,9 +46,7 @@
#include <config.h>
#endif
#ifdef HAVE_SAMPLERATE_H
#include <samplerate.h>
#endif
#include "mixer.h"
@@ -188,10 +186,8 @@ private:
QMutex m_devMutex;
#ifdef HAVE_SAMPLERATE_H
SRC_DATA m_srcData;
SRC_STATE * m_srcState;
#endif
surroundSampleFrame * m_buffer;

View File

@@ -43,9 +43,7 @@
#include <config.h>
#endif
#ifdef HAVE_SAMPLERATE_H
#include <samplerate.h>
#endif
#include "mixer.h"
@@ -79,9 +77,7 @@ public:
private:
f_cnt_t m_frame_index;
const bool m_varying_pitch;
#ifdef HAVE_SAMPLERATE_H
SRC_STATE * m_resampling_data;
#endif
friend class sampleBuffer;
@@ -264,11 +260,9 @@ private:
float m_frequency;
sample_rate_t m_sample_rate;
#ifdef HAVE_SAMPLERATE_H
void initResampling( void );
SRC_DATA m_srcData;
#endif
sampleFrame * m_sample_fragment;
sampleFrame * getSampleFragment( f_cnt_t _start, f_cnt_t _frames,