|
@@ -23,15 +23,17 @@
|
|
|
#include <unistd.h>
|
|
|
#include <signal.h>
|
|
|
#include <sys/stat.h>
|
|
|
#include <errno.h>
|
|
|
|
|
|
#ifndef EXTERNAL_PLAYER
|
|
|
/** The default external midi player. */
|
|
|
#define EXTERNAL_PLAYER "timidity"
|
|
|
#endif
|
|
|
|
|
|
/** Factory for the midi player that uses external players. */
|
|
|
static FMusicDriver_ExtMidi iFMusicDriver_ExtMidi;
|
|
|
|
|
|
const char *MusicDriver_ExtMidi::Start(const char * const * parm)
|
|
|
{
|
|
|
if (strcmp(_video_driver->GetName(), "allegro") == 0 ||
|
|
|
strcmp(_sound_driver->GetName(), "allegro") == 0) {
|