src/music/null_m.cpp
branchgamebalance
changeset 9895 7bd07f43b0e3
parent 6450 1c2016673250
child 6720 35756db7e577
equal deleted inserted replaced
9894:70d78ac95d6c 9895:7bd07f43b0e3
     2 
     2 
     3 #include "../stdafx.h"
     3 #include "../stdafx.h"
     4 #include "null_m.h"
     4 #include "null_m.h"
     5 
     5 
     6 static const char* NullMidiStart(const char* const* parm) { return NULL; }
     6 static const char* NullMidiStart(const char* const* parm) { return NULL; }
     7 static void NullMidiStop(void) {}
     7 static void NullMidiStop() {}
     8 static void NullMidiPlaySong(const char *filename) {}
     8 static void NullMidiPlaySong(const char *filename) {}
     9 static void NullMidiStopSong(void) {}
     9 static void NullMidiStopSong() {}
    10 static bool NullMidiIsSongPlaying(void) { return true; }
    10 static bool NullMidiIsSongPlaying() { return true; }
    11 static void NullMidiSetVolume(byte vol) {}
    11 static void NullMidiSetVolume(byte vol) {}
    12 
    12 
    13 const HalMusicDriver _null_music_driver = {
    13 const HalMusicDriver _null_music_driver = {
    14 	NullMidiStart,
    14 	NullMidiStart,
    15 	NullMidiStop,
    15 	NullMidiStop,