diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-16 10:11:18 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-16 10:11:18 +0100 |
| commit | ec578450d3425ff00783215bcec7c4ce8feca068 (patch) | |
| tree | b8488746bde7a71191b3f8ab84a05534eb91b3c5 /src/app | |
| parent | da78b6ca468360b62c8fccebb2aa5005d2c35156 (diff) | |
fix(cnn): rename CNNLayerParams to CNNv1LayerParams
- Update cnn_test.cc references
- Update test_demo.cc references (CNNEffect -> CNNv1Effect)
- Fixes build errors from v1 renaming
35/36 tests passing (SilentBackendTest pre-existing failure)
Diffstat (limited to 'src/app')
| -rw-r--r-- | src/app/test_demo.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/test_demo.cc b/src/app/test_demo.cc index ff2c105..434c376 100644 --- a/src/app/test_demo.cc +++ b/src/app/test_demo.cc @@ -231,9 +231,9 @@ int main(int argc, char** argv) { // Add CNN post-processing effect based on version flag if (g_cnn_version == 1) { - CNNEffectParams params; + CNNv1EffectParams params; params.blend_amount = 1.0f; - auto* cnn = new CNNEffect(*gpu_ctx, params); + auto* cnn = new CNNv1Effect(*gpu_ctx, params); cnn->set_beat_modulation(true, 1.0f); gpu_add_custom_effect(cnn, 0.0f, 99999.0f, 10); } else if (g_cnn_version == 2) { |
