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