From c2359680aeb9ce4d368b23e3fbf834d9f7474cd8 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Tue, 9 Apr 2013 13:54:04 -0400 Subject: [PATCH] For SDL2#, this will be const, not redefinable. --- src/SDL2_mixer.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/SDL2_mixer.cs b/src/SDL2_mixer.cs index c0884e8..4a584b4 100644 --- a/src/SDL2_mixer.cs +++ b/src/SDL2_mixer.cs @@ -44,7 +44,10 @@ namespace SDL2 #region SDL_mixer.h - // FIXME: Allow user defined MIX_CHANNELS + /* In C, you can redefine this value before including SDL_mixer.h. + * We're not going to allow this in SDL2#, since the value of this + * variable is persistent and not dependent on preprocessor ordering. + */ public const int MIX_CHANNELS = 8; public static readonly int MIX_DEFAULT_FREQUENCY = 22050;