From e8a4c69dd159cf248c2335775a69a1214f0c9bc7 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Thu, 12 Nov 2015 23:49:45 +0800 Subject: Add comments in headers. Add a separate configuration file. --- smelt/sdl/smelt_config.hpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 smelt/sdl/smelt_config.hpp (limited to 'smelt/sdl/smelt_config.hpp') 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 -- cgit v1.2.3