Performance - speed up switching of playlists with non-destructive diskstreams.
This commit is contained in:
parent
618a391346
commit
c6d9d8193b
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user