]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix really stupid typo in coreaudio init (!= was supposed to be ==)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 Mar 2008 19:45:38 +0000 (19:45 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 Mar 2008 19:45:38 +0000 (19:45 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8184 d7cf8633-e32d-0410-b094-e92efae38249

snd_coreaudio.c

index 3997e58dc83fd062ea7463d2bdac14873948ce31..6d6dd5b07cbfa5ca0ad19be30b01d593d088c217 100644 (file)
@@ -239,7 +239,7 @@ qboolean SndSys_Init (const snd_format_t* requested, snd_format_t* suggested)
                return false;
        }
 
-       if(streamDesc.mFormatID != kAudioFormatLinearPCM)
+       if(streamDesc.mFormatID == kAudioFormatLinearPCM)
        {
                // Add the callback function
                status = AudioDeviceAddIOProc(outputDeviceID, audioDeviceIOProc, NULL);