mostly miscilaneous changes (some old stuff that I don't remember), lightsampling changes, qtv changes, avi sound changes

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2379 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-09-17 00:59:22 +00:00
parent 4c32449d26
commit 42c43d960f
60 changed files with 2066 additions and 643 deletions

View file

@ -92,18 +92,6 @@ void S_TransferPaintBuffer(soundcardinfo_t *sc, int endtime)
skip += *cskip;
cskip += *cskip;
}
// Only do this for 1 sound card with 2 channels, because
// this function is hacky
if (sc == sndcardinfo && sc->sn.numchannels == 2)
{
if (out_idx <= startidx) // buffer looped
{
Media_RecordAudioFrame(out + startidx, (sc->sn.samples - startidx) / 2);
Media_RecordAudioFrame(out, out_idx / 2);
}
else
Media_RecordAudioFrame(out + startidx, (out_idx - startidx) / 2);
}
}
else if (sc->sn.samplebits == 8)
{