2005-07-24 16:12:37 +02:00
|
|
|
/* $Id$ */
|
|
|
|
|
2005-07-25 09:16:10 +02:00
|
|
|
#include "../stdafx.h"
|
|
|
|
#include "null_m.h"
|
2005-07-23 17:16:57 +02:00
|
|
|
|
|
|
|
static const char* NullMidiStart(const char* const* parm) { return NULL; }
|
2007-03-07 12:47:46 +01:00
|
|
|
static void NullMidiStop() {}
|
2005-07-23 17:16:57 +02:00
|
|
|
static void NullMidiPlaySong(const char *filename) {}
|
2007-03-07 12:47:46 +01:00
|
|
|
static void NullMidiStopSong() {}
|
|
|
|
static bool NullMidiIsSongPlaying() { return true; }
|
2005-07-23 17:16:57 +02:00
|
|
|
static void NullMidiSetVolume(byte vol) {}
|
|
|
|
|
|
|
|
const HalMusicDriver _null_music_driver = {
|
|
|
|
NullMidiStart,
|
|
|
|
NullMidiStop,
|
|
|
|
NullMidiPlaySong,
|
|
|
|
NullMidiStopSong,
|
|
|
|
NullMidiIsSongPlaying,
|
|
|
|
NullMidiSetVolume,
|
|
|
|
};
|