feat: detect steps and play audio

This commit is contained in:
2026-03-04 01:31:35 +01:00
parent 804f83340f
commit e22478445d
18 changed files with 435 additions and 17 deletions

View File

@@ -6,6 +6,7 @@ plugins {
android {
namespace 'at.lockstep'
compileSdk 34
ndkVersion '29.0.14206865'
defaultConfig {
applicationId "at.lockstep"
@@ -21,15 +22,19 @@ android {
externalNativeBuild {
cmake {
//path 'src/main/cpp/CMakeLists.txt'
cppFlags ''
//cppFlags ''
arguments "-DANDROID_STL=c++_shared"
//cppFlags "-std=c++14"
//arguments '-DANDROID_STL=c++_static'
//cppFlags "-Wl,-z,max-page-size=16384 -Wl,-z,common-page-size=4096"
// should be provided by default by newer NDK (NDK r29)
// armeabi and mips are deprecated in NDK r16 so we don't want to build for them
// TODO: android manifest filters to include only these hardware archs
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64' //, 'x86', 'x86_64'
//abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86_64' //, 'x86', 'x86_64'
abiFilters 'armeabi-v7a', 'arm64-v8a' //, 'aarch64' // 'arm64-v8a' ???
}
}
}