CHECK_BOUNDARIES(width);
CHECK_BOUNDARIES(channels);
#undef CHECK_BOUNDARIES
-
+
// Find the level of each parameter
#define FIND_LEVEL(param) \
param##_level = 0; \
if (snd_channellayout.integer < SND_CHANNELLAYOUT_AUTO ||
snd_channellayout.integer > SND_CHANNELLAYOUT_ALSA)
Cvar_SetValueQuick (&snd_channellayout, SND_CHANNELLAYOUT_STANDARD);
-
+
if (snd_channellayout.integer == SND_CHANNELLAYOUT_AUTO)
{
// If we're in the sound engine initialization
if (snd_renderbuffer == NULL || nosound.integer)
return;
-
+
if (snd_blocked > 0 && !cls.capturevideo_soundfile)
return;
// some modules write directly to a shared (DMA) buffer
additionaltime = (soundtime - newsoundtime) + snd_renderbuffer->maxframes - 1;
additionaltime -= additionaltime % snd_renderbuffer->maxframes;
-
+
extrasoundtime += additionaltime;
newsoundtime += additionaltime;
Con_DPrintf("S_PaintAndSubmit: new extra sound time = %u\n",
if (snd_renderbuffer == NULL || nosound.integer)
return;
-
+
if (snd_blocked > 0 && !cls.capturevideo_soundfile)
return;