26 lines
826 B
C++
26 lines
826 B
C++
#include "AppConfig.h"
|
|
|
|
namespace RenderCadenceCompositor
|
|
{
|
|
AppConfig DefaultAppConfig()
|
|
{
|
|
AppConfig config;
|
|
config.deckLink.externalKeyingEnabled = false;
|
|
config.deckLink.outputAlphaRequired = false;
|
|
config.outputThread.targetBufferedFrames = 4;
|
|
config.telemetry.interval = std::chrono::seconds(1);
|
|
config.logging.minimumLevel = LogLevel::Log;
|
|
config.logging.writeToConsole = true;
|
|
config.logging.writeToDebugOutput = true;
|
|
config.logging.writeToFile = true;
|
|
config.logging.filePath = "logs/render-cadence-compositor.log";
|
|
config.logging.maxQueuedMessages = 1024;
|
|
config.warmupCompletedFrames = 4;
|
|
config.warmupTimeout = std::chrono::seconds(3);
|
|
config.prerollTimeout = std::chrono::seconds(3);
|
|
config.prerollPoll = std::chrono::milliseconds(2);
|
|
config.runtimeShaderId = "happy-accident";
|
|
return config;
|
|
}
|
|
}
|