diff --git a/dep/oui-blendish b/dep/oui-blendish index 383f24f6..b7066201 160000 --- a/dep/oui-blendish +++ b/dep/oui-blendish @@ -1 +1 @@ -Subproject commit 383f24f6ed41facf25eda0d32b0f6bc9aee96e53 +Subproject commit b7066201022a757cbcbd986d8c91d565e4daef90 diff --git a/src/bridge.cpp b/src/bridge.cpp index d59e72a8..5629a5ec 100644 --- a/src/bridge.cpp +++ b/src/bridge.cpp @@ -168,7 +168,7 @@ struct BridgeClientConnection { case AUDIO_PROCESS_COMMAND: { uint32_t length = 0; recv(&length); - if (length == 0) { + if (length == 0 || length > (1<<16)) { ready = false; return; } @@ -183,7 +183,7 @@ struct BridgeClientConnection { memset(&output, 0, sizeof(output)); processStream(input, output, frames); send(&output, length * sizeof(float)); - flush(); + // flush(); } break; case AUDIO_ACTIVATE: {