Add support for configuring the size of input caches in nodes.

This is important for fixed sized processing.
This commit is contained in:
David Reid
2022-01-01 21:31:06 +10:00
parent f3915423b6
commit 7ee6d1d792
2 changed files with 20 additions and 14 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ int main(int argc, char** argv)
engineConfig = ma_engine_config_init();
engineConfig.channels = CHANNELS;
engineConfig.sampleRate = SAMPLE_RATE;
engineConfig.periodSizeInFrames = 256;
engineConfig.periodSizeInFrames = 512;
result = ma_engine_init(&engineConfig, &g_engine);
if (result != MA_SUCCESS) {