mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-27 00:47:43 +01:00
[Summary] Occasional cleanup
This commit is contained in:
parent
707268447f
commit
705ba84aee
2 changed files with 0 additions and 17 deletions
|
|
@ -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 ();
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue