unsigned char out[PAINTBUFFER_SIZE * 4];
unsigned char* out_ptr;
- if (!cls.capturevideo_active)
+ if (!cls.capturevideo.active)
return;
// write the sound buffer as little endian 16bit interleaved stereo
// Lock submitbuffer
if (!simsound && !SndSys_LockRenderBuffer())
return 0;
-
+
partialend = starttime;
while (partialend < endtime) // handle recirculating buffer issues
{
if (sb == NULL)
{
Con_DPrintf("SND_PaintChannel: ERROR: can't get sound buffer from sfx \"%s\"\n",
- ch->sfx->name, count);
+ ch->sfx->name); // , count); // or add this? FIXME
}
else
{