For SDL2#, this will be const, not redefinable.

This commit is contained in:
Ethan Lee 2013-04-09 13:54:04 -04:00
parent 9fab52ec04
commit c2359680ae

View file

@ -44,7 +44,10 @@ namespace SDL2
#region SDL_mixer.h #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 const int MIX_CHANNELS = 8;
public static readonly int MIX_DEFAULT_FREQUENCY = 22050; public static readonly int MIX_DEFAULT_FREQUENCY = 22050;