+void MWindowGUI::update_mixers(Track *track, int v)
+{
+ for( int i=0; i<TOTAL_PANES; ++i ) {
+ if( !pane[i] ) continue;
+ PatchBay *patchbay = pane[i]->patchbay;
+ if( !patchbay ) continue;
+ for( int j=0; j<patchbay->patches.total; ++j ) {
+ PatchGUI *patchgui = patchbay->patches.values[j];
+ if( !patchgui->mix ) continue;
+ if( !track || patchgui->track == track ) {
+ patchgui->mix->update(v>=0 ? v :
+ mwindow->mixer_track_active(patchgui->track));
+ }
+ }
+ }
+}
+
+void MWindowGUI::stop_transport(const char *lock_msg)
+{
+ if( !mbuttons->transport->is_stopped() ) {
+ if( lock_msg ) unlock_window();
+ mbuttons->transport->handle_transport(STOP, 1, 0, 0);
+ if( lock_msg ) lock_window(lock_msg);
+ }
+}
+