Repository navigation
rust: Port the OBS VST3 filter controller (Refs #5537) - #5549
Merged
Merged
Conversation
zackees
marked this pull request as draft
November 24, 2026 00:24
zackees
force-pushed
the
port/vst3-abi-host
branch
from
November 24, 2026 02:18
271b100 to
9ae264f
Compare
zackees
force-pushed
the
port/vst3-filter
branch
from
November 24, 2026 02:29
98f64ef to
453d612
Compare
zackees
force-pushed
the
port/vst3-abi-host
branch
from
November 24, 2026 23:07
9ae264f to
af6e21a
Compare
Ci-Attestation: {"at":1795487072,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":90,"stamp":"0c4bd3fd0831dc6aab1ef3469bbb927f","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795487072,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":90,"stamp":"c852e32aba90a589ed7dc796da883260","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795487072,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":90,"stamp":"cd12b65371e2b5759402bfd7d265fe63","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795487072,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":90,"stamp":"ade361256cd7effb500a9bdfb8216baf","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795486981,"gate":"general/all/client-lint","host":"linux-x86_64","key":"aadf3eee24a3a5ec19af00058828813c8927a9c7d8e6ff7e1d87c5882a83d9b2","lane":"client-lint","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":208,"stamp":"3e7d6b20eace6f8c5125ded7d639d010","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795487072,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":90,"stamp":"d630ee6b13246467289049f2f3e272ad","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795486981,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"aadf3eee24a3a5ec19af00058828813c8927a9c7d8e6ff7e1d87c5882a83d9b2","lane":"client-lint","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":208,"stamp":"1c8e149b430e96c124ee588ab2477091","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795486981,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"aadf3eee24a3a5ec19af00058828813c8927a9c7d8e6ff7e1d87c5882a83d9b2","lane":"client-lint","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":208,"stamp":"762a4b76d686a843b8ca051c6535702d","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795486981,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"aadf3eee24a3a5ec19af00058828813c8927a9c7d8e6ff7e1d87c5882a83d9b2","lane":"client-lint","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":208,"stamp":"f5c12b16124deeefa77758df717c86e9","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795486981,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"aadf3eee24a3a5ec19af00058828813c8927a9c7d8e6ff7e1d87c5882a83d9b2","lane":"client-lint","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":208,"stamp":"2a651b1d904ae99543eb0185421e2f9e","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795486981,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"aadf3eee24a3a5ec19af00058828813c8927a9c7d8e6ff7e1d87c5882a83d9b2","lane":"client-lint","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":208,"stamp":"2fc627ac1afebd91b473cfd824c66696","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795486981,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"aadf3eee24a3a5ec19af00058828813c8927a9c7d8e6ff7e1d87c5882a83d9b2","lane":"client-lint","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":208,"stamp":"a6d7d16020d0a2365938be1d075ef491","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795486981,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"aadf3eee24a3a5ec19af00058828813c8927a9c7d8e6ff7e1d87c5882a83d9b2","lane":"client-lint","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":208,"stamp":"05138517e9e0d71b58456f6eab10e7b9","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795486981,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"aadf3eee24a3a5ec19af00058828813c8927a9c7d8e6ff7e1d87c5882a83d9b2","lane":"client-lint","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":208,"stamp":"63d6401298b115fb28194ac17d8754e5","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795486981,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"aadf3eee24a3a5ec19af00058828813c8927a9c7d8e6ff7e1d87c5882a83d9b2","lane":"client-lint","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":208,"stamp":"0d6d0ec190b9085da2bc011c28d804d3","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795486981,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"aadf3eee24a3a5ec19af00058828813c8927a9c7d8e6ff7e1d87c5882a83d9b2","lane":"client-lint","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":208,"stamp":"1e36ac279b8aff5d94c08c9aec7c3b6c","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795486981,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"aadf3eee24a3a5ec19af00058828813c8927a9c7d8e6ff7e1d87c5882a83d9b2","lane":"client-lint","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":208,"stamp":"c3ccc64e3367a3989f4efa03bf9eb90c","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795486981,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"aadf3eee24a3a5ec19af00058828813c8927a9c7d8e6ff7e1d87c5882a83d9b2","lane":"client-lint","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":208,"stamp":"c62c2fd8b3410f759f292dd1308f1509","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Ci-Attestation: {"at":1795487362,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"345f7804b0143aa3aafb8f9349a8fcc2e6f01b0a7d0f9a62e9ffad2a18315359","lane":"client-test-x86_64-unknown-linux-gnu","parents":["60d508875bf515e4971eae189ec12dade78aba94"],"secs":288,"stamp":"6ae0d6b6e65a193228b7fc757f5fd0b5","tree":"a4d36a3780451f357780597cfd3654293a628b95","v":1,"via":"run"}
Client-Checks: {"checks":{"base":"2c6cb98cb921c6847ab49cabf1319d767ec4513a","coverage":"all-tracked-applicable-files","diff":[".github/scripts/.build.zsh",".github/scripts/Build-Windows.ps1",".github/workflows/ai-rebase.yaml",".github/workflows/apt-updates.yaml","Cargo.lock","Cargo.toml","build-aux/appimage/build.py","build-aux/appimage/test-appimage.sh","ci.toml","ci/apt_updates.py","ci/ci_scope.py","ci/linux_qt_frontend.py","ci/shared-build-files.txt","ci/test_ai_rebase_workflow_shape.py","ci/test_appimage_build_script.py","ci/test_apt_updates.py","ci/test_ci_scope.py","ci/test_linux_helper_names.py","ci/test_linux_qt_frontend.py","ci/test_mq_acquire_retry.py","ci/test_packaged_startup.py","cmake/linux/defaults.cmake","docs/features.md","docs/rust-port/cc-build.md","libobs/build/libobs.core+.h.c","libobs/build/libobs.ported-render-canvas-texture+.h.c","libobs/build/libobs.ported-version+.h.c","libobs/build/ported-source-sets/render-canvas-texture.json","libobs/build/ported-source-sets/version.json","libobs/cmake/rust-exports.d/obs-core-render_canvas_texture.txt","libobs/cmake/rust-exports.d/obs-core-version.txt","libobs/obs-internal.h","libobs/obs-render-canvas-texture-fields.c.h","libobs/obs-render-canvas-texture.c.h","libobs/obs-version-fields.c.h","libobs/obs.c.h","plugins/CMakeLists.txt","plugins/obs-vst3/CMakeLists.txt","plugins/obs-vst3/RunLoopImpl.cpp.hpp","plugins/obs-vst3/RunLoopImpl.h","plugins/obs-vst3/VST3ComponentHolder.cpp.hpp","plugins/obs-vst3/VST3ComponentHolder.h","plugins/obs-vst3/VST3EditorWindow.cpp.hpp","plugins/obs-vst3/VST3EditorWindow.h","plugins/obs-vst3/VST3HostApp.cpp.hpp","plugins/obs-vst3/VST3HostApp.h","plugins/obs-vst3/VST3Plugin-editor.cpp.hpp","plugins/obs-vst3/VST3Plugin-rust.cpp.hpp","plugins/obs-vst3/VST3Plugin.cpp.hpp","plugins/obs-vst3/VST3Plugin.h","plugins/obs-vst3/VST3Scanner.cpp.hpp","plugins/obs-vst3/VST3Scanner.h","plugins/obs-vst3/build/obs-vst3.core+.hpp.cpp","plugins/obs-vst3/build/obs-vst3.core.pch.hpp","plugins/obs-vst3/build/obs-vst3.discovery+.hpp.cpp","plugins/obs-vst3/build/obs-vst3.discovery.linux+.hpp.cpp","plugins/obs-vst3/build/obs-vst3.discovery.linux.pch.hpp","plugins/obs-vst3/build/obs-vst3.discovery.macos+.hpp.cpp","plugins/obs-vst3/build/obs-vst3.discovery.macos.pch.hpp","plugins/obs-vst3/build/obs-vst3.discovery.pch.hpp","plugins/obs-vst3/build/obs-vst3.discovery.windows+.hpp.cpp","plugins/obs-vst3/build/obs-vst3.discovery.windows.pch.hpp","plugins/obs-vst3/build/obs-vst3.editor+.hpp.cpp","plugins/obs-vst3/build/obs-vst3.editor.linux+.hpp.cpp","plugins/obs-vst3/build/obs-vst3.editor.linux.pch.hpp","plugins/obs-vst3/build/obs-vst3.editor.pch.hpp","plugins/obs-vst3/build/obs-vst3.editor.windows+.hpp.cpp","plugins/obs-vst3/build/obs-vst3.editor.windows.pch.hpp","plugins/obs-vst3/build/obs-vst3.host.macos+.hpp.cpp","plugins/obs-vst3/build/obs-vst3.host.macos.pch.hpp","plugins/obs-vst3/build/obs-vst3.host.windows+.hpp.cpp","plugins/obs-vst3/build/obs-vst3.host.windows.pch.hpp","plugins/obs-vst3/build/obs-vst3.linux+.hpp.cpp","plugins/obs-vst3/build/obs-vst3.linux.pch.hpp","plugins/obs-vst3/build/obs-vst3.macos+.hpp.mm","plugins/obs-vst3/build/obs-vst3.macos.pch.hpp","plugins/obs-vst3/build/sdk-source-sets.json","plugins/obs-vst3/cmake/sdk.cmake","plugins/obs-vst3/cmake/windows/obs-module.rc.in","plugins/obs-vst3/cmake/windows/obs-studio.ico","plugins/obs-vst3/data/Steinberg-VST3-SDK-LICENSE.txt","plugins/obs-vst3/data/locale/en-US.ini","plugins/obs-vst3/hosts/linux/VST3EditorWindow-linux.cpp.hpp","plugins/obs-vst3/hosts/linux/vst3-discovery-linux.cpp.hpp","plugins/obs-vst3/hosts/linux/vst3-host-linux.cpp.hpp","plugins/obs-vst3/hosts/macos/VST3EditorWindow-macos.mm.hpp","plugins/obs-vst3/hosts/macos/vst3-discovery-macos.cpp.hpp","plugins/obs-vst3/hosts/macos/vst3-host-macos.cpp.hpp","plugins/obs-vst3/hosts/windows/VST3EditorWindow-windows.cpp.hpp","plugins/obs-vst3/hosts/windows/vst3-discovery-windows.cpp.hpp","plugins/obs-vst3/hosts/windows/vst3-host-windows.cpp.hpp","plugins/obs-vst3/obs-vst3.cpp.hpp","plugins/obs-vst3/obs-vst3.h","plugins/obs-vst3/plugin-main.cpp.hpp","plugins/obs-vst3/vst3-discovery-platform.h","plugins/obs-vst3/vst3-filter-audio.h","plugins/obs-vst3/vst3-platform.h","plugins/obs-vst3/vst3-rust-host.h","plugins/obs-vst3/vst3-scan/CMakeLists.txt","plugins/obs-vst3/vst3-scan/build/obs-vst3-scanner+.hpp.cpp","plugins/obs-vst3/vst3-scan/build/obs-vst3-scanner.pch.hpp","plugins/obs-vst3/vst3-scan/build/obs-vst3-scanner.posix+.hpp.cpp","plugins/obs-vst3/vst3-scan/build/obs-vst3-scanner.posix.pch.hpp","plugins/obs-vst3/vst3-scan/build/obs-vst3-scanner.windows+.hpp.cpp","plugins/obs-vst3/vst3-scan/build/obs-vst3-scanner.windows.pch.hpp","plugins/obs-vst3/vst3-scan/cmake/macos/entitlements.plist","plugins/obs-vst3/vst3-scan/hosts/posix/vst3-scanner-posix.cpp.hpp","plugins/obs-vst3/vst3-scan/hosts/windows/vst3-scanner-windows.cpp.hpp","plugins/obs-vst3/vst3-scan/vst3-scanner-main.h","plugins/obs-vst3/vst3-scan/vst3-scanner.cpp.hpp","rust/README.md","rust/obs-build/src/application.rs","rust/obs-build/src/cli.rs","rust/obs-build/src/platform/application_linux.rs","rust/obs-build/src/platform/mod.rs","rust/obs-build/src/plugins.rs","rust/obs-build/src/plugins/vst3.rs","rust/obs-build/tests/libobs/application.rs","rust/obs-build/tests/native.rs","rust/obs-c-oracle/oracle/render_canvas_texture.c","rust/obs-c-oracle/oracle/version.c","rust/obs-core/src/ffi/mod.rs","rust/obs-core/src/ffi/render_canvas_texture.rs","rust/obs-core/src/ffi/version.rs","rust/obs-core/src/lib.rs","rust/obs-core/src/render_canvas_texture.rs","rust/obs-core/src/version.rs","rust/obs-core/tests/obs_core/main.rs","rust/obs-core/tests/obs_core/render_canvas_texture.rs","rust/obs-core/tests/obs_core/render_canvas_texture_parity.rs","rust/obs-core/tests/obs_core/version.rs","rust/obs-core/tests/obs_core/version_parity.rs","rust/obs-studio-rust/Cargo.toml","rust/obs-studio-rust/tests/cli/main.rs","rust/obs-studio-rust/tests/cli/vst3_host.rs","rust/obs-studio-rust/tests/cli/vst3_scanner.rs","rust/obs-vst3-native/Cargo.toml","rust/obs-vst3-native/src/lib.rs","rust/obs-vst3-scanner-native/Cargo.toml","rust/obs-vst3-scanner-native/src/lib.rs","rust/obs-vst3-scanner/Cargo.toml","rust/obs-vst3-scanner/src/cache.rs","rust/obs-vst3-scanner/src/discovery.rs","rust/obs-vst3-scanner/src/ffi/linux.rs","rust/obs-vst3-scanner/src/ffi/macos.rs","rust/obs-vst3-scanner/src/ffi/mod.rs","rust/obs-vst3-scanner/src/ffi/windows.rs","rust/obs-vst3-scanner/src/lib.rs","rust/obs-vst3-scanner/src/main.rs","rust/obs-vst3-scanner/src/metadata.rs","rust/obs-vst3-scanner/src/platform/mod.rs","rust/obs-vst3-scanner/src/platform/unsupported.rs","rust/obs-vst3/Cargo.toml","rust/obs-vst3/src/bus.rs","rust/obs-vst3/src/ffi/automation.rs","rust/obs-vst3/src/ffi/bridge.rs","rust/obs-vst3/src/ffi/connection.rs","rust/obs-vst3/src/ffi/engine.rs","rust/obs-vst3/src/ffi/factory.rs","rust/obs-vst3/src/ffi/filter_audio.rs","rust/obs-vst3/src/ffi/handler.rs","rust/obs-vst3/src/ffi/host_app.rs","rust/obs-vst3/src/ffi/layout.rs","rust/obs-vst3/src/ffi/linux.rs","rust/obs-vst3/src/ffi/macos.rs","rust/obs-vst3/src/ffi/mod.rs","rust/obs-vst3/src/ffi/stream.rs","rust/obs-vst3/src/ffi/windows.rs","rust/obs-vst3/src/filter/audio.rs","rust/obs-vst3/src/filter/catalog.rs","rust/obs-vst3/src/filter/mod.rs","rust/obs-vst3/src/filter/route.rs","rust/obs-vst3/src/filter/settings.rs","rust/obs-vst3/src/lib.rs","rust/obs-vst3/src/parameters.rs","rust/obs-vst3/src/platform/mod.rs","rust/obs-vst3/src/platform/unsupported.rs","rust/obs-vst3/src/state.rs","test/cmocka/build/rust-static-support.json","test/cmocka/build/test-graph.json","test/cmocka/render-canvas-texture-link-support.c","test/cmocka/test_render_canvas_texture.c","test/cmocka/test_vst3_host.c","test/cmocka/tests.d/test_render_canvas_texture.cmake","test/cmocka/tests.d/test_vst3_host.cmake","test/cmocka/vst3-test-gain.cpp","test/cmocka/vst3-test-qt.cpp","test/cmocka/vst3-test-variable.cmake","test/cmocka/vst3-test-variable.cpp","test/cmocka/vst3_scanner_parity.cmake","test/packaged-startup.py"],"head":"08751a5dde889b19ee8dcf3d5332d706bd0c46bc","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21503\n compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"0b4b713b74e18eedb7f66fd3dab5a8cf3a636ba3c196c635e94d6ffc79e7a3fa","tree":"a4d36a3780451f357780597cfd3654293a628b95"}}
zackees
force-pushed
the
port/vst3-filter
branch
from
November 25, 2026 01:32
453d612 to
019586a
Compare
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #5537. The ABI host dependency #5546 has merged.
obs-vst3.vst3_filterregistration, OBS reference ownership, capture callbacks, resampling, and the native editor at their existing OBS boundaries.Validation includes 12 filter tests that fail against stubs and pass against the implementation. A deterministic corpus of 2,048 audio packets compares output frames, sample values, and timestamps with the original C++ callback. The registered hybrid filter passed the existing gain and scene reload fixture, including a missing effect. Both filter paths passed live stereo sidechain, mono downmix, disconnection, aux source deletion, and filter removal during capture delivery.
The filter cases run in the existing
obs-tests-appbinary against the productionobs-vst3library. All 12 fail against the RED stubs at 36b8905 with the same harness, and all 12 pass with the filter implementation. Rust formatting andgit diff --checkpassed.Test cost — 25 runs of the 12 filter assertions with reduced parity cases and one harness thread. Longest run 0.078 s, peak RSS 12,928 KiB, no test-owned threads.
Exact-head installed package verification for e6305f6 is running at https://github.com/obs-rust/obs-studio/actions/runs/45527402839.