@Christoph-Hart said in Sampler: Preload Size question:
You probably might want to put that in a non-preset setting file somewhere.
exactly what im doing....
with the complication that the Preload size is actually being set in another executable, the "player", so now when the Full instrument Expansion gets loaded I say this in the init:
for(i = 0; i < NUM_SAMPLERS; i++)
{
if((instrumentMetadata.instrumentSettings.PreloadBuffer * 1024) != TheSamplers[i].getAttribute(TheSamplers[i].PreloadSize))
{
TheSamplers[i].setAttribute(TheSamplers[i].PreloadSize, instrumentMetadata.instrumentSettings.PreloadBuffer * 1024);
}
}
only question is -- do I need to wait for everything to load before checking this?