summaryrefslogtreecommitdiff
path: root/sound/null.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/null.c')
-rw-r--r--sound/null.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/null.c b/sound/null.c
new file mode 100644
index 000000000..e7d0c8c10
--- /dev/null
+++ b/sound/null.c
@@ -0,0 +1,11 @@
+#include "stdafx.h"
+#include "openttd.h"
+#include "sound/null.h"
+
+static const char *NullSoundStart(const char * const *parm) { return NULL; }
+static void NullSoundStop(void) {}
+
+const HalSoundDriver _null_sound_driver = {
+ NullSoundStart,
+ NullSoundStop,
+};