From 3f843ec8efaf7f88bffae9cda7e8bdb87f8bfd8c Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 2 Mar 2008 19:45:38 +0000 Subject: [PATCH] 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 --- snd_coreaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2