1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
/*
==============================================================================
This file was auto-generated!
It contains the basic framework code for an ARA document controller implementation.
==============================================================================
*/
%%aradocumentcontroller_headers%%
%%araplaybackrenderer_headers%%
//==============================================================================
juce::ARAPlaybackRenderer* %%aradocumentcontroller_class_name%%::doCreatePlaybackRenderer() noexcept
{
return new %%araplaybackrenderer_class_name%% (getDocumentController());
}
//==============================================================================
bool %%aradocumentcontroller_class_name%%::doRestoreObjectsFromStream (juce::ARAInputStream& input, const juce::ARARestoreObjectsFilter* filter) noexcept
{
// You should use this method to read any persistent data associated with
// your ARA model graph stored in an archive using the supplied ARAInputStream.
// Be sure to check the ARARestoreObjectsFilter to determine which objects to restore.
return true;
}
bool %%aradocumentcontroller_class_name%%::doStoreObjectsToStream (juce::ARAOutputStream& output, const juce::ARAStoreObjectsFilter* filter) noexcept
{
// You should use this method to write any persistent data associated with
// your ARA model graph into the an archive using the supplied ARAOutputStream.
// Be sure to check the ARAStoreObjectsFilter to determine which objects to store.
return true;
}
//==============================================================================
// This creates the static ARAFactory instances for the plugin.
const ARA::ARAFactory* JUCE_CALLTYPE createARAFactory()
{
return juce::ARADocumentControllerSpecialisation::createARAFactory<%%aradocumentcontroller_class_name%%>();
}
|