0.37.0 (71): one engine, one version for Android and iOS

- Three source trees: core/ (shared C++ engine, moved from ios/core),
  app/ (Android UI), ios/app/ (iOS UI)
- Android plays through core/ via JNI (EngineHost, jni_engine.cpp): the Oboe
  callback renders natively; the Kotlin model is mirrored as project text and
  applied as a diff, so playback continues through edits
- The Kotlin engine moves to the unit tests as ReferenceEngine (golden reference)
- Shared MasterRecorder in core/src/host, used by both apps; host_test
- versions.properties: one versionName/versionCode for both platforms,
  continuing Android's numbering (iOS 0.6.0/11 -> 0.37.0/71)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Reactorcoremeltdown
2026-11-16 14:49:46 +01:00
co-authored by Claude Opus 5.5
parent 64e21e0bcc
commit 2bc5cb1cbb
107 changed files with 2921 additions and 1880 deletions
+43
View File
@@ -0,0 +1,43 @@
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
// Plain descriptions of Sizzle's devices and their parameters. The tables
// themselves are generated from the Android app (DeviceSpecs.gen.hpp).
namespace sizzle {
enum class Kind { Instrument, Effect };
/** One parameter, as ToolboxType's ParamSpec: choices != nullptr marks an enum
* (nullptr-terminated list of names; the default is an index into it). */
struct ParamSpec {
const char *key;
const char *label;
float def, min, max;
bool isInt;
const char *const *choices;
bool isEnum() const { return choices != nullptr; }
int choiceCount() const { int n = 0; if (choices) while (choices[n]) ++n; return n; }
};
struct DeviceSpec {
const char *type; // ToolboxType name, e.g. "BITCRUSHER"
const char *displayName;
Kind kind;
const ParamSpec *params;
int paramCount;
};
/** A factory preset: the device it belongs to, its name, and the slot's full
* settings as nullptr-terminated key/value text pairs. */
struct FactoryPreset {
const char *type;
const char *name;
const char *const *values;
};
/** The device with ToolboxType name [type], or nullptr. */
const DeviceSpec *findDevice(const char *type);
} // namespace sizzle