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