Make the headers on sound files created by bouncing ranges complete.
authorSampo Savolainen <v2@iki.fi>
Tue, 13 Mar 2007 19:41:59 +0000 (19:41 +0000)
committerSampo Savolainen <v2@iki.fi>
Tue, 13 Mar 2007 19:41:59 +0000 (19:41 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1584 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/session.cc

index 575c4e559372c9130d3cbd5a4821a00a12290cd7..8feee3e16b006b4e070456506b2ad85ee23a499d 100644 (file)
@@ -3904,6 +3904,7 @@ Session::write_one_audio_track (AudioTrack& track, nframes_t start, nframes_t le
 
                        if (afs) {
                                afs->update_header (position, *xnow, now);
+                               afs->flush_header ();
                        }
                }