]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
bump modplug version to libmodplug-1.dll (only supports 0.8.8 upwards, sorry, but...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 26 Jul 2010 12:05:38 +0000 (12:05 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 3 Aug 2010 06:57:12 +0000 (08:57 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10365 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=9f5dc5b8171bfb05a239c1e2a2cb041574c746d2

snd_modplug.c

index 103b38a7b8ed7780f57d121fd60a19c617d43198..ec14ce95cd029edae5a1f50cf6aec971872f82e4 100644 (file)
@@ -81,6 +81,9 @@ void ModPlug_CloseLibrary (void)
                        int mBits;           /* Bits per sample - 8, 16, or 32 */
                        int mFrequency;      /* Sampling rate - 11025, 22050, or 44100 */
                        int mResamplingMode; /* One of MODPLUG_RESAMPLE_*, above */
+
+                       int mStereoSeparation; /* Stereo separation, 1 - 256 */
+                       int mMaxMixChannels; /* Maximum number of mixing channels (polyphony), 32 - 256 */
                        
                        int mReverbDepth;    /* Reverb level 0(quiet)-100(loud)      */
                        int mReverbDelay;    /* Reverb delay in ms, usually 40-200ms */
@@ -141,12 +144,12 @@ qboolean ModPlug_OpenLibrary (void)
        const char* dllnames_modplug [] =
        {
 #if defined(WIN32)
-               "libmodplug-0.dll",
+               "libmodplug-1.dll",
                "modplug.dll",
 #elif defined(MACOSX)
                "libmodplug.dylib",
 #else
-               "libmodplug.so.0",
+               "libmodplug.so.1",
                "libmodplug.so",
 #endif
                NULL