]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
unconst something
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 Mar 2008 16:32:04 +0000 (16:32 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 Mar 2008 16:32:04 +0000 (16:32 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8182 d7cf8633-e32d-0410-b094-e92efae38249

snd_coreaudio.c

index cb653f0447090953bc792784d52f8db44c9b748c..3997e58dc83fd062ea7463d2bdac14873948ce31 100644 (file)
@@ -55,7 +55,7 @@ static OSStatus audioDeviceIOProc(AudioDeviceID inDevice,
 {
        float *outBuffer;
        unsigned int frameCount, factor, sampleIndex;
-       const float scale = 1.0f / SHRT_MAX;
+       float scale = 1.0f / SHRT_MAX;
 
        outBuffer = (float*)outOutputData->mBuffers[0].mData;
        factor = snd_renderbuffer->format.channels * snd_renderbuffer->format.width;