PCM moved out of beatdetect. Only projectM.hpp needs to be included, and even more headers removed from installation

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@530 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
psperl
2007-10-05 17:13:12 +00:00
parent 3b43927cc6
commit 75f2e2a25c
10 changed files with 28 additions and 32 deletions

View File

@ -81,9 +81,11 @@ projectM::~projectM() {
destroyPresetTools();
if (renderer)
delete(renderer);
delete(renderer);
if (beatDetect)
delete(beatDetect);
delete(beatDetect);
if (pcm)
delete(pcm);
}
DLLEXPORT unsigned projectM::initRenderToTexture()
@ -350,7 +352,9 @@ void projectM::projectM_reset()
this->nohard=fps*5;
/** We need to initialise this before the builtin param db otherwise bass/mid etc won't bind correctly */
assert(!beatDetect);
beatDetect = new BeatDetect();
pcm = new PCM();
beatDetect = new BeatDetect(pcm);
initPresetTools();
#if 0