https://github.com/VolcanoMobile/fluidsynth-android
this is my fork of Fluidsynth basically, I removed the glib dep and all the drivers, so it's up to you to call fluid_synth_write_s16 to fill a buffer. it can be a OpenSL buffer, AAudio, or even an AudioTrack you can build it by calling ndk-build from the android directory. it will build the libfluidsynth.so that you can use in your project hope it helps On Sun, Jan 7, 2018 at 8:02 PM, Nick Heyworth <off...@stellaris-software.com > wrote: > If OpenSLES support were basically in place, I could contribute by testing > it on Android, and with other Android-related stuff. > > I have a lot of experience with C/C++, Java, JNI, Windows, and Android, > but unfortunately I'm not very good at setting up builds in a Unix > environment. I understand there's some dependency problem with glib that > needs to be built first, and that it's complicated and needs cerbero. With > Unix it always seems to me that in order to use one tool, I need to build > it first, and learn a few others tools first in order to do that ;-) > > For the Android app I'm working on, I will need to implement a JNI > interface to call fluidsynch from Java, and I'm prepared to share that once > it's done. The thing is, I first need to be able to build the fluidsynch > .so files for Android, which is where I'm stuck. > > So if anyone could integrate the OpenSLES drivers and provide an > environment where building just works out of the box, I could probably look > after it from there. > > I was already briefly in contact with Atsushi, but no solution yet. Maybe > one of you guys could poke him? > > > Best regards, > > Nick > > -----Original Message----- From: Tom M. > Sent: Sunday, January 7, 2018 7:17 PM > To: Nick Heyworth > Cc: fluid-dev@nongnu.org > Subject: Re: [fluid-dev] Android Support > > > Supporting OpenSLES would definitely be a nice feature and I already asked > Atsushi to draft another PR at github, but no reaction so far: > > https://sourceforge.net/p/fluidsynth/code-git/merge-requests/3/ > > Overall it looks quite well, however I have no means to actually test > this, so any effort I put into integrating and polishing this would be > meaningless. Thus I'd welcome anyone submitting a PR on github so this can > be discussed and tested. > > > Tom > > > > _______________________________________________ > fluid-dev mailing list > fluid-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/fluid-dev > > _______________________________________________ > fluid-dev mailing list > fluid-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/fluid-dev >
_______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev