summaryrefslogtreecommitdiff
path: root/src/sound/null_s.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/null_s.cpp')
-rw-r--r--src/sound/null_s.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/sound/null_s.cpp b/src/sound/null_s.cpp
new file mode 100644
index 000000000..f68c4b13a
--- /dev/null
+++ b/src/sound/null_s.cpp
@@ -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,
+};