git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8174
d7cf8633-e32d-0410-b094-
e92efae38249
}
AUDIO_INITINFO (&info);
-#ifdef AUMODE_PLAY // NetBSD / OpenBSD
+#ifdef AUMODE_PLAY // NetBSD / OpenBSD
info.mode = AUMODE_PLAY;
#endif
info.play.sample_rate = requested->speed;
{
unsigned int startoffset, factor, limit, nbframes;
int written;
-
+
if (audio_fd < 0 ||
snd_renderbuffer->startframe == snd_renderbuffer->endframe)
return;
Con_Printf("SndSys_Submit: audio can't keep up! (%u < %u)\n", written, limit * factor);
return;
}
-
+
nbframes -= limit;
startoffset = 0;
}