[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] FluidSynth and glib

From: jean-jacques.ceresa
Subject: Re: [fluid-dev] FluidSynth and glib
Date: Wed, 13 Jan 2016 19:50:22 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

Le 13/01/2016 18:36, Element Green a écrit :
Having said all that, it would be nice to have the ability to build a possibly stripped down version of FluidSynth which would utilize a user defined compatibility layer. .......Internally the FluidSynth source code still has it's own compatibility layer and from what I can see does not reference glib directly. The majority of this interface is defined in utils/fluid_sys.c and utils/fluid_sys.h. Defining platform specific versions of these files would provide what I think you are seeking. A lot of those primitives are fairly simple really, and could probably be easily lifted from glib sources for use on a specific platform.

At any rate, seems like a good idea.  It would take a little work though.

This is what i intend to do for Windows plateform (to get a small size of code for specifics applications). It is in my "todo" list.

To replace glib we need to do the following steps:
1) Replace the reference to glib.h in alls files using glib.h.
In others words we need to replace macros (defined in glib.h and gxxxxx.h) by others macros defined in
  - fluidsynth_priv.h (yes, this file is glib dependent too !)
  - fluid_sys.h
  - fluid_sys.c

2) Add the necessary code (functions )in fluid_sys.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]