mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 19:08:32 +08:00
more fluidsynth fix
This commit is contained in:
@@ -297,8 +297,10 @@ AH_BOTTOM([#if C_HAS_BUILTIN_EXPECT
|
||||
dnl These custom typedefs are unnecessary and should be deprecated.
|
||||
dnl Linux systems for ages now have had stdint.h to define uint8_t, etc.
|
||||
AH_BOTTOM([
|
||||
#if !defined(FLUIDINC)
|
||||
#include <cstdint>
|
||||
|
||||
typedef uintptr_t Bitu;
|
||||
typedef intptr_t Bits;
|
||||
#endif
|
||||
])
|
||||
|
@@ -344,8 +344,10 @@
|
||||
#endif
|
||||
|
||||
|
||||
#if !defined(FLUIDINC)
|
||||
#include <cstdint>
|
||||
|
||||
typedef uintptr_t Bitu;
|
||||
typedef intptr_t Bits;
|
||||
#endif
|
||||
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_adriver.h"
|
||||
#include "fluid_settings.h"
|
||||
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_adsr_env.h"
|
||||
|
||||
void
|
||||
|
@@ -24,7 +24,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_adriver.h"
|
||||
#include "fluid_settings.h"
|
||||
#include "fluid_sys.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_chan.h"
|
||||
#include "fluid_mod.h"
|
||||
#include "fluid_synth.h"
|
||||
|
@@ -65,7 +65,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_chorus.h"
|
||||
#include "fluid_sys.h"
|
||||
|
||||
|
@@ -18,8 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
//#include <glib.h>
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "fluidsynth_priv.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_conv.h"
|
||||
|
||||
/* conversion tables */
|
||||
|
@@ -21,7 +21,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_defsfont.h"
|
||||
/* Todo: Get rid of that 'include' */
|
||||
#include "fluid_sys.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluidsynth_priv.h"
|
||||
#include "fluid_sys.h"
|
||||
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_synth.h"
|
||||
#include "fluid_adriver.h"
|
||||
#include "fluid_settings.h"
|
||||
|
@@ -27,7 +27,9 @@
|
||||
Oct4.2002 : AS : corrected bug in heap allocation, that caused a crash during sequencer free.
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_event_priv.h"
|
||||
#include "fluidsynth_priv.h"
|
||||
|
||||
|
@@ -22,7 +22,9 @@
|
||||
* Low-level routines for file output.
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include <stdio.h>
|
||||
#include "fluidsynth_priv.h"
|
||||
#include "fluid_synth.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_gen.h"
|
||||
#include "fluid_chan.h"
|
||||
|
||||
|
@@ -31,7 +31,9 @@
|
||||
* MT safe
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluidsynth_priv.h"
|
||||
#include "fluid_hash.h"
|
||||
#include "fluid_list.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_iir_filter.h"
|
||||
#include "fluid_sys.h"
|
||||
#include "fluid_conv.h"
|
||||
|
@@ -1,4 +1,6 @@
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_lfo.h"
|
||||
|
||||
void
|
||||
|
@@ -24,7 +24,9 @@
|
||||
* GLib at ftp://ftp.gtk.org/pub/gtk/.
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_list.h"
|
||||
|
||||
fluid_list_t*
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_mdriver.h"
|
||||
#include "fluid_settings.h"
|
||||
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_midi.h"
|
||||
#include "fluid_sys.h"
|
||||
#include "fluid_synth.h"
|
||||
|
@@ -24,7 +24,9 @@
|
||||
* cleaned it up a bit.
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_midi_router.h"
|
||||
#include "fluid_midi.h"
|
||||
#include "fluid_synth.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_mod.h"
|
||||
#include "fluid_chan.h"
|
||||
#include "fluid_voice.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_ramsfont.h"
|
||||
#include "fluid_sys.h"
|
||||
#include "fluid_synth.h"
|
||||
|
@@ -9,7 +9,9 @@
|
||||
Translated to C by Peter Hanappe, Mai 2001
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_rev.h"
|
||||
|
||||
/***************************************************************
|
||||
|
@@ -23,7 +23,9 @@
|
||||
* 2009-05-28
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_ringbuffer.h"
|
||||
#include "fluidsynth_priv.h"
|
||||
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_rvoice.h"
|
||||
#include "fluid_conv.h"
|
||||
#include "fluid_sys.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluidsynth_priv.h"
|
||||
#include "fluid_phase.h"
|
||||
#include "fluid_rvoice.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_rvoice_event.h"
|
||||
#include "fluid_rvoice.h"
|
||||
#include "fluid_rvoice_mixer.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_rvoice_mixer.h"
|
||||
#include "fluid_rvoice.h"
|
||||
#include "fluid_sys.h"
|
||||
|
@@ -19,7 +19,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_synth.h"
|
||||
#include "fluid_adriver.h"
|
||||
#include "fluid_settings.h"
|
||||
|
@@ -27,7 +27,9 @@
|
||||
http://www.infiniteCD.org/
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_event_priv.h"
|
||||
#include "fluidsynth_priv.h" // FLUID_NEW, etc
|
||||
#include "fluid_sys.h" // timer, threads, etc...
|
||||
|
@@ -27,7 +27,9 @@
|
||||
http://www.infiniteCD.org/
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluidsynth_priv.h"
|
||||
#include "fluid_synth.h"
|
||||
#include "fluid_midi.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluidsynth_priv.h"
|
||||
#include "fluid_sys.h"
|
||||
#include "fluid_hash.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include <math.h>
|
||||
|
||||
#include "fluid_synth.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_sys.h"
|
||||
|
||||
#if (WIN32)
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluid_tuning.h"
|
||||
#include "fluidsynth_priv.h"
|
||||
#include "fluid_sys.h"
|
||||
|
@@ -18,7 +18,9 @@
|
||||
* 02110-1301, USA
|
||||
*/
|
||||
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(HX_DOS)
|
||||
#define FLUIDINC
|
||||
#include "config.h"
|
||||
#if !C_FLUIDSYNTH && defined(WIN32) && !defined(C_HX_DOS)
|
||||
#include "fluidsynth_priv.h"
|
||||
#include "fluid_voice.h"
|
||||
#include "fluid_mod.h"
|
||||
|
Reference in New Issue
Block a user