13
0

engine dialog fix buffersize sensitivity

This commit is contained in:
Robin Gareus 2015-01-17 19:51:57 +01:00
parent 7d88dc3202
commit f77c923bee

View File

@ -852,6 +852,13 @@ EngineControl::list_devices ()
} else { } else {
ok_button->set_sensitive (true); ok_button->set_sensitive (true);
apply_button->set_sensitive (true); apply_button->set_sensitive (true);
if (backend->can_change_sample_rate_when_running() && sample_rate_combo.get_children().size() > 0) {
sample_rate_combo.set_sensitive (true);
}
if (backend->can_change_buffer_size_when_running() && buffer_size_combo.get_children().size() > 0) {
buffer_size_combo.set_sensitive (true);
}
} }
} }
} }