diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-10-18 17:19:48 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-11-02 16:32:18 -0600 |
commit | 6128d1759c8659f00d21a9d80bd555837bc5b4f2 (patch) | |
tree | 795f3713dda88bcca038ccba639f0a4d62d9a1d3 /libs/ardour/session_butler.cc | |
parent | a08012214fea09567b78086b5ca076c3369dcb16 (diff) |
do not initiate transport stop during loading when setting capture/playback buffer sizes
Diffstat (limited to 'libs/ardour/session_butler.cc')
-rw-r--r-- | libs/ardour/session_butler.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/ardour/session_butler.cc b/libs/ardour/session_butler.cc index 0dda13cd3e..b36d5459f3 100644 --- a/libs/ardour/session_butler.cc +++ b/libs/ardour/session_butler.cc @@ -45,7 +45,9 @@ using namespace PBD; void Session::adjust_playback_buffering () { - request_stop (false, false); + if (!loading()) { + request_stop (false, false); + } SessionEvent *ev = new SessionEvent (SessionEvent::AdjustPlaybackBuffering, SessionEvent::Add, SessionEvent::Immediate, 0, 0, 0.0); queue_event (ev); } @@ -53,7 +55,9 @@ Session::adjust_playback_buffering () void Session::adjust_capture_buffering () { - request_stop (false, false); + if (!loading()) { + request_stop (false, false); + } SessionEvent *ev = new SessionEvent (SessionEvent::AdjustCaptureBuffering, SessionEvent::Add, SessionEvent::Immediate, 0, 0, 0.0); queue_event (ev); } |