Replies: 1 comment 1 reply
-
|
I did it. I added following to app/build.gradle.kts dependencies { And app/CMakeLists.tt find_package (oboe REQUIRED CONFIG) target_link_libraries( And edit fluid_synth_2.5.1\CMakeLists.txt 706:# find_package ( oboe ) Reason: for Android Build with Windows. oboe is not part of SDK nor System. Full version: (in AndroidStudioProjects\MidiFluid\app) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to Cross Compile for Android use Windows Android Studio.
I almost made it. But I can not use oboe.
C:\Users\synthtarou\AndroidStudioProjects\MidiFluid\app
have [build.gradle.kts] and [CMakeLists.txt]
C:\Users\synthtarou\AndroidStudioProjects\MidiFluid\app\src\main\cpp\fluid_synth_2.5.1
is holding contains from GitHub [extracted from fluid_synth_2.5.1.zip].
And logcat showing following text logs.
fluidsynth This build of fluidsynth supports the following audio drivers: file, opensles
fluidsynth E Couldn't find the requested audio driver 'oboe'.
fluidsynth This build of fluidsynth supports the following audio drivers: file, opensles
fluidsynth E Couldn't find the requested audio driver 'oboe'.
fluidsynth This build of fluidsynth supports the following audio drivers: file, opensles
fluidsynth E Couldn't find the requested audio driver 'oboe'.
fluidsynth This build of fluidsynth supports the following audio drivers: file, opensles
fluidsynth E Couldn't find the requested audio driver 'oboe'.
......
My bulid.gradle.kts contains it.
build.gradle.kts
android { defaultConfig { externalNativeBuild { cmake { arguments.add("-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON") arguments.add("-DANDROID_STL=c++_shared") arguments.add("-Dosal=cpp11") arguments.add("-Denable-libinstpatch=0") arguments.add("-Denable-libsndfile=0") arguments.add("-Denable-opensles=1") arguments.add("-Denable-oboe=1") arguments.add("-Denable-dbus=0") arguments.add("-Denable-oss=0") } } }Why does not it worked?
arguments.add("-Denable-oboe=1")
Is not enough?
Do I miss link ???.so or ...
Please assist.
This attachment file is full version text
build.gradle.kts.txt
CMakeLists.txt
Well, Im trying equal average latency for Large Buffer Size. for stable beat timing.
like This Issue.
#1120
-> calculate use buffer size / current milliseconds / message queue time.
Maybe it will work, for me.
and I have some good idea for make my phone better.
Beta Was this translation helpful? Give feedback.
All reactions