]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sound.h
-Added the preprocessor constant USE_DSOUND.
[xonotic/darkplaces.git] / sound.h
diff --git a/sound.h b/sound.h
index d2991caba970a7b709d45e6b482e01c31acf4857..dbfc892327d64f3a2196d0dc46a21d442d0e74ac 100644 (file)
--- a/sound.h
+++ b/sound.h
@@ -22,6 +22,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #ifndef SOUND_H
 #define SOUND_H
 
+//AK: TODO: find a better solution instead of using a define
+#if defined( _WIN32 ) && !defined( USE_SDL )
+#      define USE_DSOUND
+#endif
+
 #define DEFAULT_SOUND_PACKET_VOLUME 255
 #define DEFAULT_SOUND_PACKET_ATTENUATION 1.0