[Summary] Occasional cleanup

This commit is contained in:
VKamyshniy 2015-02-12 23:16:43 +02:00
parent 707268447f
commit 705ba84aee
2 changed files with 0 additions and 17 deletions

View file

@ -260,7 +260,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr
WavesDropdown* _sample_rate_dropdown;
void on_sample_rate_dropdown_item_clicked (WavesDropdown*, int);
void sample_rate_changed();
ARDOUR::framecnt_t get_sample_rate () const;
void populate_sample_rate_dropdown ();

View file

@ -389,22 +389,6 @@ ARDOUR_UI::get_sample_rate () const
return r;
}
void
ARDOUR_UI::sample_rate_changed()
{
if (_ignore_changes) {
return;
}
framecnt_t new_sample_rate = get_sample_rate ();
if ( EngineStateController::instance()->set_new_sample_rate_in_controller(new_sample_rate) )
{
return;
}
// ELSE restore previous buffer size value in combo box
update_sample_rate_dropdown ();
}
void
ARDOUR_UI::on_sample_rate_dropdown_item_clicked (WavesDropdown* dropdown, int el_number)
{