Merge branch 'ardour'
This commit is contained in:
commit
c1808b718c
@ -2933,8 +2933,12 @@ Mixer_UI::parameter_changed (string const & p)
|
||||
bool const s = _session ? _session->config.get_show_group_tabs () : true;
|
||||
if (s) {
|
||||
_group_tabs->show ();
|
||||
vca_label_bar.show ();
|
||||
Gtk::Requisition group_size = _group_tabs->size_request();
|
||||
vca_label_bar.set_size_request (-1, group_size.height + 1);
|
||||
} else {
|
||||
_group_tabs->hide ();
|
||||
vca_label_bar.hide ();
|
||||
}
|
||||
} else if (p == "default-narrow_ms") {
|
||||
bool const s = UIConfiguration::instance().get_default_narrow_ms ();
|
||||
|
@ -34,6 +34,8 @@
|
||||
#include "ardour/process_thread.h"
|
||||
#include "ardour/session_event.h"
|
||||
|
||||
#include "pbd/i18n.h"
|
||||
|
||||
using namespace ARDOUR;
|
||||
|
||||
IOTaskList::IOTaskList (uint32_t n_threads)
|
||||
@ -67,8 +69,14 @@ IOTaskList::IOTaskList (uint32_t n_threads)
|
||||
_workers.resize (_n_threads);
|
||||
for (uint32_t i = 0; i < _n_threads; ++i) {
|
||||
if (pthread_create (&_workers[i], &attr, &_worker_thread, this)) {
|
||||
if (pthread_create (&_workers[i], NULL, &_worker_thread, this)) {
|
||||
std::cerr << "Failed to start IOTaskList thread\n";
|
||||
throw failed_constructor ();
|
||||
}
|
||||
if (i == 0) {
|
||||
PBD::warning << _("IOTaskList: cannot acquire realtime permissions.") << endmsg;
|
||||
}
|
||||
}
|
||||
}
|
||||
pthread_attr_destroy (&attr);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user