Changed sync difference time of sound strips to 0.5 seconds instead of 1 frame. Maybe this should be a user preference setting?

This commit is contained in:
Joerg Mueller 2009-08-31 18:18:10 +00:00
parent 8b18843b98
commit 87929332c7

@ -376,7 +376,7 @@ void sound_update_playing(struct bContext *C)
float diff = AUD_getPosition(handle->handle) * fps - cfra + handle->startframe;
if(diff < 0.0)
diff = -diff;
if(diff > 1.0f)
if(diff > FPS/2.0)
{
action = 2;
}