]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix 3 typos
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 17 May 2007 14:14:19 +0000 (14:14 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 17 May 2007 14:14:19 +0000 (14:14 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7301 d7cf8633-e32d-0410-b094-e92efae38249

snd_coreaudio.c

index 92f4c0641c5b3359fc10b9bcd4211cfce05da320..9d9381253fdc42aa52f5d69023722a391ec4876d 100644 (file)
@@ -150,7 +150,7 @@ qboolean SndSys_Init (const snd_format_t* requested, snd_format_t* suggested)
                return false;
        }
        // Suggest proper settings if they differ
-       if (requested.channels != streamDesc.mChannelsPerFrame || requested.speed != streamDesc.mSampleRate || requested.width != streamDesc.mBitsPerChannel/8)
+       if (requested->channels != streamDesc.mChannelsPerFrame || requested->speed != streamDesc.mSampleRate || requested->width != streamDesc.mBitsPerChannel/8)
        {
                if (suggested != NULL)
                {