[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] Official android support.
From: |
Carlo Bramini |
Subject: |
Re: [fluid-dev] Official android support. |
Date: |
Wed, 25 Jul 2018 15:09:36 +0200 (CEST) |
It is also true that the dependency to GLIB is not a big problem, at least if
someone wants.
You have 99% of chance to get a working copy by just replacing 3 files
(fluid_sys.c, fluid_sys.h and fluidsynth_priv.h) with others written for
another specific platform. I did it in my fully native native build for
Windows. For my embedded ARM microcontroller, I recovered these files from the
fork for Android and I linked against pthreads-emb, although it is probably
better to have something more lightweight, like FreeRTOS or a cooperative
scheduler. For me, it looks much more complex to write the missing audio
out/midi in drivers than GLIB.
Sincerely.
> Il 23 luglio 2018 alle 21.52 Nick Heyworth <address@hidden> ha scritto:
>
> So you have an unofficial port of glib that can be used to build FluidSynth
> so it runs on Android?
>
> Any chance you can share the binaries (I’m hopeless at building Linux stuff
> using the command line, only know how to build Android apps) and a simple
> example?
>
> All I want to do is load an arbitrary sound font and send MIDI on/off events
> to play sounds. I don’t even care about updates to the lib as long as it just
> works.
>
> Best regards,
>
> Nick
>
> From: [Philippe Simons]()
> Sent: Monday, July 23, 2018 9:18 AM
> To: [FluidSynth mailing list]()
> Subject: Re: [fluid-dev] Official android support.
>
> So do I, but this is not going to happens... like ever.
> The issue can be summarised to "get rid of glib dependancy".
> glib is used as portable layer for alot of FluidSynth internals,
> unfortunately glib has no Android port...
> So we are stuck with unofficial forks like mine...
>
> I try to keep it updated with upstream, merge conflicts are minimals but I
> can only give it so much time.
> BTW, I'm always open to PR
>
> Philippe
>
> On Wed, Jul 18, 2018 at 6:44 PM Nick Heyworth < address@hidden()> wrote:
> > I would love that! Also suggested it a few months ago.
> >
> > Nick
> >
> > From: [Carlo Bramini]()
> > Sent: Wednesday, July 18, 2018 12:52 PM
> > To: address@hidden()
> > Subject: [fluid-dev] Official android support.
> >
> > Hello everyone,
> >
> > Although it is a bit late for the next upcoming release, I think that it
> > would be worth to include native audio out and midi in drivers for Android
> > in the official source repository. Afterall we are talking about the most
> > used mobile operating system of the world. I know that there are some forks
> > of the repository with some tries for adding this type of support but
> > having that officially supported would be a nice feature in my opinion.
> >
> > Just keep this as a possible addition to be implemented/included one day in
> > the future.
> >
> > Sincerely.
> >
> > ---
> > _______________________________________________
> > fluid-dev mailing list
> > address@hidden()
> > https://lists.nongnu.org/mailman/listinfo/fluid-dev
> >
> > _______________________________________________
> > fluid-dev mailing list
> > address@hidden()
> > https://lists.nongnu.org/mailman/listinfo/fluid-dev
>
> ---
> _______________________________________________
> fluid-dev mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/fluid-dev
> _______________________________________________
> fluid-dev mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/fluid-dev