Don't update file_frame twice when reversing close to the start of a diskstream....
authorCarl Hetherington <carl@carlh.net>
Sun, 6 Feb 2011 18:32:15 +0000 (18:32 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 6 Feb 2011 18:32:15 +0000 (18:32 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8727 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/audio_diskstream.cc

index 30dd556735988f9c817e372617ea3014259eb826..2ee824845aa320288caa99e68817f7443e0afc82 100644 (file)
@@ -1085,7 +1085,6 @@ AudioDiskstream::_do_refill (Sample* mixdown_buffer, float* gain_buffer)
 
                        zero_fill = total_space - file_frame;
                        total_space = file_frame;
-                       file_frame = 0;
 
                } else {