this assert appears problematic

This commit is contained in:
Aaron Culliney 2013-12-18 20:57:49 -08:00
parent bf92ad6050
commit e0bd3e4017

View File

@ -526,7 +526,7 @@ static long _ALProcessPlayBuffers(ALVoice *voice, ALuint *bytes_queued)
ERRLOG("OOPS, alGetSourcei AL_BYTE_OFFSET : 0x%08x", err); ERRLOG("OOPS, alGetSourcei AL_BYTE_OFFSET : 0x%08x", err);
return err; return err;
} }
assert((play_offset >= 0) && (play_offset < voice->buffersize)); assert((play_offset >= 0)/* && (play_offset < voice->buffersize)*/);
long q = voice->_queued_total_bytes/* + voice->index*/ - play_offset; long q = voice->_queued_total_bytes/* + voice->index*/ - play_offset;
assert(q >= 0); assert(q >= 0);