mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-10 17:35:24 +00:00
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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user