I'm good at fucking stuff up - remove debug prints.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4981 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a6c66182ba
commit
08b809de93
1 changed files with 4 additions and 4 deletions
|
@ -160,7 +160,7 @@ static sfxcache_t *OV_DecodeSome(struct sfx_s *sfx, struct sfxcache_s *buf, ssam
|
|||
|
||||
if (start < dec->decodedbytestart)
|
||||
{
|
||||
Con_Printf("Rewound to %i\n", start);
|
||||
// Con_Printf("Rewound to %i\n", start);
|
||||
dec->failed = false;
|
||||
|
||||
/*something rewound, purge clear the buffer*/
|
||||
|
@ -189,17 +189,17 @@ static sfxcache_t *OV_DecodeSome(struct sfx_s *sfx, struct sfxcache_s *buf, ssam
|
|||
{
|
||||
dec->decodedbytecount = 0;
|
||||
dec->decodedbytestart = start;
|
||||
Con_Printf("trim < 0\n");
|
||||
// Con_Printf("trim < 0\n");
|
||||
}
|
||||
else if (trim > dec->decodedbytecount)
|
||||
{
|
||||
dec->decodedbytecount = 0;
|
||||
dec->decodedbytestart = start;
|
||||
Con_Printf("trim > count\n");
|
||||
// Con_Printf("trim > count\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
Con_Printf("trim retain\n");
|
||||
// Con_Printf("trim retain\n");
|
||||
//FIXME: retain an extra half-second for dual+ sound devices running slightly out of sync
|
||||
memmove(dec->decodedbuffer, dec->decodedbuffer + trim, dec->decodedbytecount - trim);
|
||||
dec->decodedbytecount -= trim;
|
||||
|
|
Loading…
Reference in a new issue