First of all, let me say, that I am relatively new to Juce and C++, so there is a strong chance, that the error is on my side.
It seems to me that the prepareToPlay and the releaseResources methods of the plugin are not getting called, when starting or stopping the sequencer. At least not in Live 8.1.1 and Renoise 2.1 on Windows XP. I found out, when debugging my own plugin, but it has the same behaviour with the demo plugin.
To reproduce do the following:
-compile the demo plugin from the latest tip
-set breakpoints inside both functions
-start Live and insert the plugin in a track
-attach debugging to the Live process
-start and stop the sequencer-> the functions don´t get called
Am I missing something about how these functions work? Maybe I´m making a very stupid mistake, as nobody seems to have had this problem before. Anyway, help is very much appreciated.