I am currently evaluating Juce as a new technology for cross platform audio stuff. As fas as I can see it's great because it is so versatile.
What I actually need is to have all those neat audio parts running completely apart from the UI. That means we probably can't use the JUCE UI framework.
Therefore I just started with a very small Console test program (created from Introjucer) and compiled with VS2008 on Vista:
- Code: Select all
#include "../JuceLibraryCode/JuceHeader.h"
//==============================================================================
int main (int argc, char* argv[])
{
AudioDeviceManager deviceManager;
deviceManager.initialise(255,255,NULL, true);
deviceManager.playTestSound();
return 0;
}
Compile run well. Unfortunately it did not run, because of the missing event loop and the jassert inside Juce.
A juce application without a UI from juice seems not to be possible right now.
I found this entry on the forum: viewtopic.php?f=4&t=8164
That's why I check out the latest Juce from git. It's 2.0.18 today. I tried it again but the command line still gets over the
- Code: Select all
jassert (MessageManager::instance != nullptr);
in ChangeBroadcaster. It seems that Audiostuff without UI is still not possible. Has anyone else tried to do this before?
Can I eventually emulate this MessageManager by any chance? Is there another way to "initialize" Juce?
with kind regards
Matthias
