13
0

add a comment to the previous change

git-svn-id: svn://localhost/ardour2/branches/3.0@13008 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-07-10 04:18:06 +00:00
parent 65bb82ce82
commit cf49671ab4

View File

@ -2171,7 +2171,16 @@ CursorDrag::start_grab (GdkEvent* event, Gdk::Cursor* c)
s->cancel_audition ();
}
if (AudioEngine::instance()->connected()) {
/* do this only if we're the engine is connected
* because otherwise this request will never be
* serviced and we'll busy wait forever. likewise,
* notice if we are disconnected while waiting for the
* request to be serviced.
*/
s->request_suspend_timecode_transmission ();
while (AudioEngine::instance()->connected() && !s->timecode_transmission_suspended ()) {
/* twiddle our thumbs */