do not initiate transport stop during loading when setting capture/playback buffer sizes
This commit is contained in:
parent
a08012214f
commit
6128d1759c
@ -45,7 +45,9 @@ using namespace PBD;
|
|||||||
void
|
void
|
||||||
Session::adjust_playback_buffering ()
|
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);
|
SessionEvent *ev = new SessionEvent (SessionEvent::AdjustPlaybackBuffering, SessionEvent::Add, SessionEvent::Immediate, 0, 0, 0.0);
|
||||||
queue_event (ev);
|
queue_event (ev);
|
||||||
}
|
}
|
||||||
@ -53,7 +55,9 @@ Session::adjust_playback_buffering ()
|
|||||||
void
|
void
|
||||||
Session::adjust_capture_buffering ()
|
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);
|
SessionEvent *ev = new SessionEvent (SessionEvent::AdjustCaptureBuffering, SessionEvent::Add, SessionEvent::Immediate, 0, 0, 0.0);
|
||||||
queue_event (ev);
|
queue_event (ev);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user