mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
Mark speed UI controls insensitive if varispeed is not available
This commit is contained in:
parent
e863a7dbc9
commit
00bd50882e
1 changed files with 2 additions and 1 deletions
|
|
@ -31,6 +31,7 @@
|
||||||
#include "ardour/ardour.h"
|
#include "ardour/ardour.h"
|
||||||
#include "ardour/audioengine.h"
|
#include "ardour/audioengine.h"
|
||||||
#include "ardour/rc_configuration.h"
|
#include "ardour/rc_configuration.h"
|
||||||
|
#include "ardour/port.h"
|
||||||
#include "ardour/session.h"
|
#include "ardour/session.h"
|
||||||
|
|
||||||
#include "gtkmm2ext/colors.h"
|
#include "gtkmm2ext/colors.h"
|
||||||
|
|
@ -765,7 +766,7 @@ ShuttleControl::parameter_changed (std::string p)
|
||||||
delete shuttle_context_menu;
|
delete shuttle_context_menu;
|
||||||
shuttle_context_menu = 0;
|
shuttle_context_menu = 0;
|
||||||
} else if (p == "external-sync") {
|
} else if (p == "external-sync") {
|
||||||
if (_session->config.get_external_sync()) {
|
if (_session->config.get_external_sync() || !Port::can_varispeed ()) {
|
||||||
_vari_dialog.hide ();
|
_vari_dialog.hide ();
|
||||||
_vari_button.set_sensitive (false);
|
_vari_button.set_sensitive (false);
|
||||||
if (shuttle_grabbed) {
|
if (shuttle_grabbed) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue