13
0

do not initiate transport stop during loading when setting capture/playback buffer sizes

This commit is contained in:
Paul Davis 2019-10-18 17:19:48 -06:00
parent a08012214f
commit 6128d1759c

View File

@ -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);
}