From 5c87f99ad599f1af6d3e142601284117bf1a5425 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Wed, 30 May 2012 09:00:12 +0000 Subject: [PATCH] removed the SNDDMA_GetSamples() call from snd_dma.c:GetSoundtime() for solaris git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@677 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/snd_dma.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Quake/snd_dma.c b/Quake/snd_dma.c index 5995e12b..c9614fa1 100644 --- a/Quake/snd_dma.c +++ b/Quake/snd_dma.c @@ -862,9 +862,6 @@ static void GetSoundtime (void) // it is possible to miscount buffers if it has wrapped twice between // calls to S_Update. Oh well. -#ifdef __sun__ - soundtime = SNDDMA_GetSamples(); -#else samplepos = SNDDMA_GetDMAPos(); if (samplepos < oldsamplepos) @@ -881,7 +878,6 @@ static void GetSoundtime (void) oldsamplepos = samplepos; soundtime = buffers*fullsamples + samplepos/shm->channels; -#endif } void S_ExtraUpdate (void)