13
0

Performance - speed up switching of playlists with non-destructive diskstreams.

This commit is contained in:
nick_m 2016-04-12 02:57:10 +10:00
parent 618a391346
commit c6d9d8193b

View File

@ -380,7 +380,7 @@ Diskstream::use_playlist (boost::shared_ptr<Playlist> playlist)
_playlist = playlist; _playlist = playlist;
_playlist->use(); _playlist->use();
if (!in_set_state && recordable()) { if (!in_set_state && destructive() && recordable()) {
reset_write_sources (false); reset_write_sources (false);
} }