Page MenuHome

mypatch.diff

File Metadata

Author
Jan Lukas Gernert (jeanluc)
Created
Nov 13 2013, 5:19 PM

mypatch.diff

--- ./source/blender/blenkernel/intern/sound_org.c 2013-08-14 12:39:14.873394000 +0200
+++ ./source/blender/blenkernel/intern/sound.c 2013-08-14 12:40:12.861346000 +0200
@@ -707,7 +707,7 @@ void sound_update_scene(struct Scene *sc
if (AUD_removeSet(scene->speaker_handles, strip->speaker_handle)) {
if (speaker->sound)
- AUD_moveSequence(strip->speaker_handle, (double)strip->start / FPS, -1, 0);
+ AUD_moveSequence(strip->speaker_handle, (double)strip->start / FPS, (double)strip->end / FPS, 0);
else {
AUD_removeSequence(scene->sound_scene, strip->speaker_handle);
strip->speaker_handle = NULL;
@@ -717,7 +717,7 @@ void sound_update_scene(struct Scene *sc
if (speaker->sound) {
strip->speaker_handle = AUD_addSequence(scene->sound_scene,
speaker->sound->playback_handle,
- (double)strip->start / FPS, -1, 0);
+ (double)strip->start / FPS, (double)strip->end / FPS, 0);
AUD_setRelativeSequence(strip->speaker_handle, 0);
}
}

Event Timeline