aboutsummaryrefslogtreecommitdiff
path: root/smelt/sdl/smelt_config.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2015-11-12 23:49:45 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2015-11-12 23:49:45 +0800
commite8a4c69dd159cf248c2335775a69a1214f0c9bc7 (patch)
tree6cdb95bad9167841d7ffe3a892880e9eb375e030 /smelt/sdl/smelt_config.hpp
parent6655926e01396139f4b81323d8adcc734bc4284e (diff)
downloadSMELT-e8a4c69dd159cf248c2335775a69a1214f0c9bc7.tar.xz
Add comments in headers.
Add a separate configuration file.
Diffstat (limited to 'smelt/sdl/smelt_config.hpp')
-rw-r--r--smelt/sdl/smelt_config.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/smelt/sdl/smelt_config.hpp b/smelt/sdl/smelt_config.hpp
new file mode 100644
index 0000000..0e56e8a
--- /dev/null
+++ b/smelt/sdl/smelt_config.hpp
@@ -0,0 +1,20 @@
+// -*- C++ -*-
+/*
+ * Simple MultimEdia LiTerator(SMELT)
+ * by Chris Xiong 2015
+ * Configuration header for SDL version
+ *
+ * Modify this header according to your own requirements.
+ *
+ */
+
+/*
+ * Maximum audio channels.
+ * (How many audio can be played simultaneously?)
+ */
+#define SRC_MAX 128
+
+/*
+ * Client-side vertex buffer size.
+ */
+#define VERTEX_BUFFER_SIZE 4000