From: havoc Date: Sun, 2 Mar 2008 19:45:38 +0000 (+0000) Subject: fix really stupid typo in coreaudio init (!= was supposed to be ==) X-Git-Tag: xonotic-v0.1.0preview~2340 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3f843ec8efaf7f88bffae9cda7e8bdb87f8bfd8c;p=xonotic%2Fdarkplaces.git fix really stupid typo in coreaudio init (!= was supposed to be ==) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8184 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_coreaudio.c b/snd_coreaudio.c index 3997e58d..6d6dd5b0 100644 --- a/snd_coreaudio.c +++ b/snd_coreaudio.c @@ -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);