aboutsummaryrefslogtreecommitdiff
path: root/flite/flite-1.1-noaudio.patch
blob: 4c2ef0fb3eddf3b01013116b743656116a510f01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -uNr flite-1.1-release/src/audio/native_audio.h flite-1.1-release-noaudio/src/audio/native_audio.h
--- flite-1.1-release/src/audio/native_audio.h	Tue Dec  4 19:05:59 2001
+++ flite-1.1-release-noaudio/src/audio/native_audio.h	Sun Nov  3 19:12:44 2002
@@ -41,6 +41,16 @@
 #ifndef _NATIVE_AUDIO_H__
 #define _NATIVE_AUDIO_H__
 
+/* -- begin HACK: turn off all audio -- */
+#undef  CST_AUDIO_COMMAND
+#undef  CST_AUDIO_SUNOS
+#undef  CST_AUDIO_LINUX
+#undef  CST_AUDIO_ALSA
+#undef  CST_AUDIO_FREEBSD
+#undef  CST_AUDIO_WINCE
+#define CST_AUDIO_NONE
+/* -- end HACK -- */
+
 #ifdef CST_AUDIO_COMMAND
 
 #define AUDIO_OPEN_NATIVE audio_open_command