- 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>
15 lines
356 B
C++
15 lines
356 B
C++
// SPDX-FileCopyrightText: 2026 Reactorcoremeltdown
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#include <cstring>
|
|
#include "sizzle/DeviceSpecs.gen.hpp"
|
|
|
|
namespace sizzle {
|
|
|
|
const DeviceSpec *findDevice(const char *type) {
|
|
for (const auto &d : gen::devices) if (std::strcmp(d.type, type) == 0) return &d;
|
|
return nullptr;
|
|
}
|
|
|
|
} // namespace sizzle
|