mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-27 22:43:36 +00:00
Merge pull request #355 from carlo-bramini/master
Build fixes and header cleanups.
This commit is contained in:
commit
d76a23c28d
3 changed files with 12 additions and 15 deletions
|
@ -18,14 +18,8 @@
|
||||||
* 02110-1301, USA
|
* 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
#include "fluid_lash.h"
|
#include "fluid_lash.h"
|
||||||
#include "fluid_synth.h"
|
|
||||||
|
|
||||||
#include <unistd.h> /* for usleep() */
|
#ifdef HAVE_LASH
|
||||||
#include <sys/types.h>
|
|
||||||
#include <signal.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <pthread.h>
|
|
||||||
|
|
||||||
static void fluid_lash_save (fluid_synth_t * synth);
|
static void fluid_lash_save (fluid_synth_t * synth);
|
||||||
static void fluid_lash_load (fluid_synth_t * synth, const char * filename);
|
static void fluid_lash_load (fluid_synth_t * synth, const char * filename);
|
||||||
|
@ -35,15 +29,11 @@ static void *fluid_lash_run (void * data);
|
||||||
* lash client - this symbol needs to be in the library else
|
* lash client - this symbol needs to be in the library else
|
||||||
* all clients would need a fluid_lash_client symbol.
|
* all clients would need a fluid_lash_client symbol.
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_LASH
|
|
||||||
lash_client_t * fluid_lash_client;
|
lash_client_t * fluid_lash_client;
|
||||||
#endif
|
|
||||||
|
|
||||||
static pthread_t fluid_lash_thread;
|
static pthread_t fluid_lash_thread;
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_LASH
|
|
||||||
|
|
||||||
fluid_lash_args_t *
|
fluid_lash_args_t *
|
||||||
fluid_lash_extract_args (int * pargc, char *** pargv)
|
fluid_lash_extract_args (int * pargc, char *** pargv)
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,13 +19,14 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#define INITGUID
|
|
||||||
|
|
||||||
#include "fluidsynth_priv.h"
|
|
||||||
#include "fluid_synth.h"
|
#include "fluid_synth.h"
|
||||||
#include "fluid_sys.h"
|
|
||||||
#include "fluid_adriver.h"
|
#include "fluid_adriver.h"
|
||||||
#include "fluid_settings.h"
|
#include "fluid_settings.h"
|
||||||
|
|
||||||
|
#if DSOUND_SUPPORT
|
||||||
|
|
||||||
|
#define INITGUID
|
||||||
|
|
||||||
#include <mmsystem.h>
|
#include <mmsystem.h>
|
||||||
#include <dsound.h>
|
#include <dsound.h>
|
||||||
|
|
||||||
|
@ -368,3 +369,5 @@ char* fluid_win32_error(HRESULT hr) {
|
||||||
}
|
}
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* DSOUND_SUPPORT */
|
||||||
|
|
|
@ -106,6 +106,10 @@
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if HAVE_SIGNAL_H
|
||||||
|
#include <signal.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/** Integer types */
|
/** Integer types */
|
||||||
#if HAVE_STDINT_H
|
#if HAVE_STDINT_H
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
Loading…
Reference in a new issue